File tree Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Expand file tree Collapse file tree 1 file changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ language : objective-c
2+ osx_image : xcode10.2
3+
4+ env :
5+ global :
6+ - PROJECT="KakaJSON.xcodeproj"
7+ - SCHEME="KakaJSON-Package"
8+ - SWIFT_VERSION=5.0
9+
10+ matrix :
11+ include :
12+ - os : osx
13+ env :
14+ - SDK="iphonesimulator12.2"
15+ - DESTINATION="platform=iOS Simulator,name=iPhone 8,OS=12.2"
16+ - os : osx
17+ env :
18+ - SDK="macosx10.14"
19+ - DESTINATION="arch=x86_64"
20+ - os : osx
21+ env :
22+ - SDK="appletvsimulator12.0"
23+ - DESTINATION="OS=12.0,name=Apple TV 4K"
24+ - os : linux
25+ sudo : required
26+ dist : trusty
27+
28+ before_install :
29+ - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
30+ gem install xcpretty;
31+ fi
32+ - if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
33+ eval "$(curl -sL https://swiftenv.fuller.li/install.sh)";
34+ fi
35+
36+ script :
37+ - if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
38+ xcodebuild clean build test -project "$PROJECT" -scheme "$SCHEME" -sdk "$SDK" -destination "$DESTINATION" -enableCodeCoverage YES | xcpretty;
39+ fi
40+ - if [[ $TRAVIS_OS_NAME == 'linux' ]]; then
41+ swift test;
42+ fi
You can’t perform that action at this time.
0 commit comments