forked from typelift/Aquifer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
language: objective-c | ||
osx_image: xcode7 | ||
|
||
env: | ||
- TEST_CONFIG="RELEASE" | ||
# - TEST_CONFIG="CARTHAGE" | ||
- TEST_CONFIG="PODS" | ||
|
||
before_install: | ||
- gem install xcpretty-travis-formatter --no-rdoc --no-ri --no-document --quiet | ||
- if [[ "$TEST_CONFIG" == "RELEASE" ]]; then gem install xcpretty-travis-formatter --no-rdoc --no-ri --no-document --quiet; fi | ||
- if [[ "$TEST_CONFIG" == "CARTHAGE" ]]; then brew install carthage; fi | ||
|
||
install: | ||
- git submodule update -i --recursive | ||
install: | ||
- if [[ "$TEST_CONFIG" == "RELEASE" ]]; then git submodule update -i --recursive; fi | ||
|
||
script: | ||
- set -o pipefail && xcodebuild -project Aquifer.xcodeproj -scheme Aquifer -sdk macosx ONLY_ACTIVE_ARCH=NO clean build test | xcpretty -c -f `xcpretty-travis-formatter` | ||
- set -o pipefail && xcodebuild -project Aquifer.xcodeproj -scheme Aquifer-iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO clean build test | xcpretty -c -f `xcpretty-travis-formatter` | ||
- set -o pipefail | ||
- if [[ "$TEST_CONFIG" == "RELEASE" ]]; then xcodebuild -project Aquifer.xcodeproj -scheme Aquifer -sdk macosx ONLY_ACTIVE_ARCH=NO clean build test | xcpretty -c -f `xcpretty-travis-formatter`; fi | ||
- if [[ "$TEST_CONFIG" == "RELEASE" ]]; then xcodebuild -project Aquifer.xcodeproj -scheme Aquifer-iOS -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO clean build test | xcpretty -c -f `xcpretty-travis-formatter`; fi | ||
- if [[ "$TEST_CONFIG" == "CARTHAGE" ]]; then carthage update --verbose --no-use-binaries && carthage build --no-skip-current --configuration Debug; fi | ||
- if [[ "$TEST_CONFIG" == "PODS" ]]; then pod lib lint; fi |