File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 11language : objective-c
22osx_image : xcode7
33
4+ env :
5+ - TEST_CONFIG="RELEASE"
6+ # - TEST_CONFIG="CARTHAGE"
7+ - TEST_CONFIG="PODS"
8+
49before_install :
5- - gem install xcpretty-travis-formatter --no-rdoc --no-ri --no-document --quiet
10+ - if [[ "$TEST_CONFIG" == "RELEASE" ]]; then gem install xcpretty-travis-formatter --no-rdoc --no-ri --no-document --quiet; fi
11+ - if [[ "$TEST_CONFIG" == "CARTHAGE" ]]; then brew install carthage; fi
612
713install :
8- - git submodule update -i --recursive
14+ - if [[ "$TEST_CONFIG" == "RELEASE" ]]; then git submodule update -i --recursive; fi
915
1016script :
11- - set -o pipefail && xcodebuild -project Swiftz.xcodeproj -scheme Swiftz -sdk macosx ONLY_ACTIVE_ARCH=NO clean build test | xcpretty -c -f `xcpretty-travis-formatter`
12- - set -o pipefail && xcodebuild -project Swiftz.xcodeproj -scheme Swiftz-iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO clean build test | xcpretty -c -f `xcpretty-travis-formatter`
17+ - set -o pipefail
18+ - if [[ "$TEST_CONFIG" == "RELEASE" ]]; then xcodebuild -project Swiftz.xcodeproj -scheme Swiftz -sdk macosx ONLY_ACTIVE_ARCH=NO clean build test | xcpretty -c -f `xcpretty-travis-formatter`; fi
19+ - if [[ "$TEST_CONFIG" == "RELEASE" ]]; then xcodebuild -project Swiftz.xcodeproj -scheme Swiftz-iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO clean build test | xcpretty -c -f `xcpretty-travis-formatter`; fi
20+ - if [[ "$TEST_CONFIG" == "CARTHAGE" ]]; then carthage update --verbose --no-use-binaries && carthage build --no-skip-current --configuration Debug; fi
21+ - if [[ "$TEST_CONFIG" == "PODS" ]]; then pod lib lint; fi
You can’t perform that action at this time.
0 commit comments