Skip to content

Commit 4b83583

Browse files
authored
simplify Travis config to use swift test only
swift test builds JWT and JWA, so compilation errors for those will otherwise just result in two jobs that fail for the same reason; one can still check the Travis output to see where exactly the failure is occurring
1 parent f2bbd1d commit 4b83583

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.travis.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ dist: trusty
88

99
env:
1010
global:
11+
- SWIFT_VERSION=4.0
1112
- SWIFT_VERSION=4.1.2
1213
matrix:
13-
- SWIFTPM_BUILD=true
1414
- SWIFTPM_TEST=true
1515
- XCODE_TEST_SDK=macosx
1616
- XCODE_BUILD_SDK=iphonesimulator
@@ -19,12 +19,6 @@ env:
1919

2020
matrix:
2121
exclude:
22-
# # No need to build and test on macOS
23-
# - os: osx
24-
# env: SWIFTPM_BUILD=true
25-
# # LinuxMain.swift is out of sync
26-
# - os: linux
27-
# env: SWIFTPM_TEST=true
2822
- os: linux
2923
env: XCODE_TEST_SDK=macosx
3024
- os: linux
@@ -38,7 +32,6 @@ install:
3832
- eval "$(curl -sL https://swiftenv.fuller.li/install.sh)"
3933

4034
script:
41-
- if [ -n "$SWIFTPM_BUILD" ]; then swift build; fi
4235
- if [ -n "$SWIFTPM_TEST" ]; then swift test; fi
4336
- if [ -n "$XCODE_BUILD_SDK" ] || [ -n "$XCODE_TEST_SDK" ]; then swift package generate-xcodeproj; fi
4437
- if [ -n "$XCODE_BUILD_SDK" ]; then xcodebuild -project JWT.xcodeproj -scheme JWT-Package build -sdk $XCODE_BUILD_SDK; fi

0 commit comments

Comments
 (0)