Skip to content

Commit

Permalink
Add Carthage to Travis-CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
nlutsenko committed Jan 7, 2016
1 parent 21eaa1d commit 64da553
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ env:
- TEST_TYPE=OSX
- TEST_TYPE=tvOS
- TEST_TYPE=CocoaPods
- TEST_TYPE=Carthage
before_install:
- |
if [ "$TEST_TYPE" = iOS ] || [ "$TEST_TYPE" = OSX ] || [ "$TEST_TYPE" = tvOS ]; then
Expand All @@ -20,6 +21,9 @@ before_install:
gem install cocoapods --pre --quiet --no-ri --no-rdoc
pod setup --silent
pod repo update --silent
elif [ "$TEST_TYPE" = Carthage ]; then
brew update
brew install carthage
fi
script:
- |
Expand All @@ -35,6 +39,8 @@ script:
elif [ "$TEST_TYPE" = CocoaPods ]; then
pod lib lint Bolts.podspec
pod lib lint --use-libraries Bolts.podspec
elif [ "$TEST_TYPE" = Carthage ]; then
carthage build --no-skip-current
fi
after_success:
- |
Expand Down

0 comments on commit 64da553

Please sign in to comment.