Skip to content

Commit 82f52db

Browse files
committed
šŸ› Fix CI tests
- Use pipefail instead of exit - Do not run tests on iOS 8.X (WKWebView does not allow to load files before iOS 9)
1 parent b9b2545 commit 82f52db

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

ā€Ž.travis.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ env:
66
- PROJECT="JavaScriptKit.xcodeproj"
77
matrix:
88
- SCHEME="JavaScriptKit-macOS" DESTINATION="platform=OS X,arch=x86_64" PLATFORM="macOS"
9-
- SCHEME="JavaScriptKit-iOS" DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=8.1" PLATFORM="iOS"
10-
- SCHEME="JavaScriptKit-iOS" DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=8.2" PLATFORM="iOS"
11-
- SCHEME="JavaScriptKit-iOS" DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=8.3" PLATFORM="iOS"
12-
- SCHEME="JavaScriptKit-iOS" DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=8.4" PLATFORM="iOS"
139
- SCHEME="JavaScriptKit-iOS" DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=9.0" PLATFORM="iOS"
1410
- SCHEME="JavaScriptKit-iOS" DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=9.1" PLATFORM="iOS"
1511
- SCHEME="JavaScriptKit-iOS" DESTINATION="platform=iOS Simulator,name=iPhone 6,OS=9.2" PLATFORM="iOS"
@@ -30,6 +26,6 @@ before_script:
3026
- carthage bootstrap --platform $PLATFORM
3127

3228
script:
33-
- xcodebuild test -project "$PROJECT" -scheme "$SCHEME" -destination "$DESTINATION" | xcpretty && exit ${PIPESTATUS[0]}
29+
- set -o pipefail && xcodebuild test -project "$PROJECT" -scheme "$SCHEME" -destination "$DESTINATION" | xcpretty
3430
- carthage build --platform $PLATFORM --no-skip-current
35-
- pod lib lint --verbose
31+
- pod lib lint --verbose

0 commit comments

Comments
Ā (0)