From 3201ad7d62b750ecc2fd0c514c53244657a7e9a0 Mon Sep 17 00:00:00 2001 From: Nikita Lutsenko Date: Wed, 6 Jan 2016 20:25:52 -0800 Subject: [PATCH] Add Carthage to Travis-CI. --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 078613c13..acb361dad 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 + bundle update + bundle 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: - |