Summary: It updates the `xcodebuild` command with the sdk argument Closes https://github.com/facebook/Sonar/pull/133 Reviewed By: danielbuechele Differential Revision: D8732525 Pulled By: priteshrnandgaonkar fbshipit-source-id: 3aafa44cf00f49e507246ec25329a58749025cb4
63 lines
1.2 KiB
YAML
63 lines
1.2 KiB
YAML
os: osx
|
|
osx_image: xcode9.4
|
|
|
|
matrix:
|
|
include:
|
|
- language: node_js
|
|
node_js:
|
|
- "8"
|
|
|
|
install:
|
|
- yarn
|
|
- cd website
|
|
- yarn
|
|
- cd ..
|
|
|
|
script:
|
|
- yarn lint
|
|
- yarn build --mac --version=$TRAVIS_BUILD_NUMBER
|
|
- cd website
|
|
- yarn build
|
|
- cd ..
|
|
|
|
deploy:
|
|
- provider: pages
|
|
skip-cleanup: true
|
|
github-token: $GITHUB_TOKEN
|
|
fqdn: fbsonar.com
|
|
local-dir: website/build/sonar
|
|
keep-history: true
|
|
on:
|
|
branch: master
|
|
- language: node_js
|
|
node_js:
|
|
- "10"
|
|
|
|
install:
|
|
- yarn
|
|
- cd website
|
|
- yarn
|
|
- cd ..
|
|
|
|
script:
|
|
- yarn lint
|
|
- yarn build --mac --version=$TRAVIS_BUILD_NUMBER
|
|
- cd website
|
|
- yarn build
|
|
- cd ..
|
|
|
|
- language: objective-c
|
|
|
|
before_install:
|
|
- pod repo update
|
|
|
|
install:
|
|
- cd iOS/Sample
|
|
- pod install
|
|
- cd ../../
|
|
|
|
script:
|
|
- cd iOS/Sample
|
|
- xcodebuild -showsdks
|
|
- xcodebuild clean build -workspace Sample.xcworkspace -scheme Pods-Sample -sdk iphonesimulator11.4
|