Skip to content

Commit

Permalink
CI Harder
Browse files Browse the repository at this point in the history
  • Loading branch information
CodaFi committed Oct 15, 2015
1 parent f98d7af commit f4ea235
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .travis.yml
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

0 comments on commit f4ea235

Please sign in to comment.