Skip to content

Commit 0e85ce9

Browse files
committed
[Travis CI] New build configuration
1 parent a4702fb commit 0e85ce9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ before_install:
1212
- pod install
1313
- xcrun simctl list # list devices
1414

15-
install:
16-
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
17-
1815
env:
1916
- DESTINATION='platform=iOS Simulator,name=iPhone 6,OS=9.1' UI=true
2017
- DESTINATION='platform=iOS Simulator,name=iPhone 6,OS=8.4'
@@ -23,5 +20,6 @@ env:
2320

2421
script:
2522
- set -o pipefail
26-
- xcodebuild -workspace Example/FeetInchDelegate.xcworkspace -scheme FeetInchDelegate-Example -sdk iphonesimulator -destination "OS=9.0,name=iPhone 6" clean build | xcpretty -c || true
27-
- xcodebuild -workspace Example/FeetInchDelegate.xcworkspace -scheme FeetInchDelegate-Example -sdk iphonesimulator -destination "OS=9.0,name=iPhone 6" test | xcpretty -c
23+
- xcodebuild -destination "$DESTINATION" -workspace Xcuit.xcworkspace -scheme Xcuit -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO test | xcpretty
24+
- if [ $UI ]; then xcodebuild -destination "$DESTINATION" -workspace Xcuit.xcworkspace -scheme XcuitUITests -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO test | xcpretty; fi
25+
- pod lib lint

0 commit comments

Comments
 (0)