Fixes travis (#280)
Summary: - [x] Don't harcode simulator - [x] Remove podfile.lock - [x] Test swift project too - [x] Silent logs Pull Request resolved: https://github.com/facebook/flipper/pull/280 Reviewed By: passy Differential Revision: D10013242 Pulled By: priteshrnandgaonkar fbshipit-source-id: 0a6d4f43914f944c2c1b95399ffa4dbee64c9f26
This commit is contained in:
committed by
Facebook Github Bot
parent
c7b0d419cb
commit
a14bbc0421
27
.travis.yml
27
.travis.yml
@@ -41,18 +41,37 @@ matrix:
|
||||
- language: objective-c
|
||||
|
||||
before_install:
|
||||
- pod repo update
|
||||
- rm -rf iOS/Sample/Pods
|
||||
- rm -f iOS/Sample/Podfile.lock
|
||||
- rm -f iOS/SampleSwift/Podfile.lock
|
||||
- pod repo update --silent
|
||||
|
||||
install:
|
||||
- cd iOS/Sample
|
||||
- pod install
|
||||
- rm -f Podfile.lock
|
||||
- pod install --silent
|
||||
- cd ../../
|
||||
|
||||
script:
|
||||
- cd iOS/Sample
|
||||
- xcodebuild -showsdks
|
||||
- xcodebuild clean build -workspace Sample.xcworkspace -scheme Sample -sdk iphonesimulator11.4
|
||||
- IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$")
|
||||
- xcodebuild clean build -workspace Sample.xcworkspace -scheme Sample -sdk $IPHONESIMULATOR -quiet
|
||||
- language: objective-c
|
||||
|
||||
before_install:
|
||||
- rm -rf iOS/SampleSwift/Pods
|
||||
- rm -f iOS/SampleSwift/Podfile.lock
|
||||
- pod repo update --silent
|
||||
|
||||
install:
|
||||
- cd iOS/SampleSwift
|
||||
- rm -f Podfile.lock
|
||||
- pod install --silent
|
||||
- cd ../../
|
||||
script:
|
||||
- cd iOS/SampleSwift
|
||||
- IPHONESIMULATOR=$(xcodebuild -showsdks | grep -o "iphonesimulator[0-9]\\+\\.[0-9]\\+$")
|
||||
- xcodebuild clean build -workspace SampleSwift.xcworkspace -scheme SampleSwift -sdk $IPHONESIMULATOR -quiet
|
||||
- language: android
|
||||
os: linux
|
||||
android:
|
||||
|
||||
Reference in New Issue
Block a user