-
Notifications
You must be signed in to change notification settings - Fork 233
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #258 from CodaFi/prodspec
Update Podspec
- Loading branch information
Showing
5 changed files
with
95 additions
and
84 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 | ||
- if [[ "$TEST_CONFIG" == "RELEASE" ]]; then git submodule update -i --recursive; fi | ||
|
||
script: | ||
- set -o pipefail && xcodebuild -project Swiftz.xcodeproj -scheme Swiftz -sdk macosx ONLY_ACTIVE_ARCH=NO clean build test | xcpretty -c -f `xcpretty-travis-formatter` | ||
- 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` | ||
- set -o pipefail | ||
- 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 | ||
- 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 | ||
- 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 |
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
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
Oops, something went wrong.