File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change 1
- language : objective-c
2
- osx_image : xcode8
3
- script :
4
- - set -o pipefail
1
+ os :
2
+ - linux
3
+ - osx
4
+ language : generic
5
+ sudo : required
6
+ dist : trusty
7
+ osx_image : xcode8.3
8
+ env :
9
+ - SWIFT_VERSION=3.1.1
10
+ install :
11
+ - eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/9f442512a46d7a2af7b850d65a7e9bd31edfb09b/swiftenv-install.sh)"
5
12
- git submodule update --init --recursive
6
- - xcodebuild -project JWT.xcodeproj -scheme JWT-OSX test -sdk macosx | xcpretty -c
7
- - pod lib lint --quick
13
+ script :
14
+ - swift test
15
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then xcodebuild -project JWT.xcodeproj -scheme JWT-OSX test -sdk macosx; fi
16
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then xcodebuild -project JWT.xcodeproj -scheme JWT-iOS build -sdk iphonesimulator; fi
17
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then xcodebuild -project JWT.xcodeproj -scheme JWT-tvOS build -sdk appletvsimulator; fi
18
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then xcodebuild -project JWT.xcodeproj -scheme JWT-watchOS build -sdk watchsimulator; fi
19
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then pod lib lint; fi
You can’t perform that action at this time.
0 commit comments