Skip to content
This repository was archived by the owner on Jan 16, 2021. It is now read-only.

Commit

Permalink
Add Carthage to Travis-CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
nlutsenko committed Jun 28, 2016
1 parent b594d27 commit 04800b4
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,28 @@ env:
- LANG=en_US.UTF-8
matrix:
- TEST_TYPE=iOS
- TEST_TYPE=CocoaPods
- TEST_TYPE=Package
- TEST_TYPE=CocoaPods
- TEST_TYPE=Carthage
install:
- |
bundle install
if [ "$TEST_TYPE" = Carthage ]; then
brew update
brew install carthage || brew upgrade carthage
fi
script:
- |
if [ "$TEST_TYPE" = iOS ]; then
set -o pipefail
xcodebuild test -workspace ParseTwitterUtils.xcworkspace -sdk iphonesimulator -scheme ParseTwitterUtils-iOS -configuration Debug -destination "platform=iOS Simulator,name=iPhone 4s" -destination "platform=iOS Simulator,name=iPhone 6s" GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty
elif [ "$TEST_TYPE" = Package ]; then
bundle exec rake package:frameworks
elif [ "$TEST_TYPE" = CocoaPods ]; then
pod lib lint ParseTwitterUtils.podspec
pod lib lint --use-libraries ParseTwitterUtils.podspec
elif [ "$TEST_TYPE" = Package ]; then
bundle exec rake package:frameworks
elif [ "$TEST_TYPE" = Carthage ]; then
carthage build --no-skip-current --platform iOS
fi
after_success:
- |
Expand Down

0 comments on commit 04800b4

Please sign in to comment.