diff --git a/.travis.yml b/.travis.yml index 078613c13..536ae0e38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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: - | @@ -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: - |