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

Commit 235fe90

Browse files
committed
Update CocoaPods to latest when running on Travis-CI.
1 parent f2e835d commit 235fe90

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

.travis.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,25 @@ env:
1010
- LANG=en_US.UTF-8
1111
matrix:
1212
- TEST_TYPE=iOS
13-
- TEST_TYPE=CocoaPods
1413
- TEST_TYPE=Package
14+
- TEST_TYPE=CocoaPods
15+
- TEST_TYPE=Carthage
16+
install:
17+
- |
18+
gem install cocoapods
19+
pod install
20+
bundle install
1521
script:
1622
- |
17-
if [ "$TEST_TYPE" = iOS ]; then
18-
set -o pipefail
19-
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
20-
elif [ "$TEST_TYPE" = CocoaPods ]; then
21-
pod lib lint ParseTwitterUtils.podspec
22-
pod lib lint --use-libraries ParseTwitterUtils.podspec
23-
elif [ "$TEST_TYPE" = Package ]; then
24-
bundle exec rake package:frameworks
25-
fi
23+
if [ "$TEST_TYPE" = iOS ]; then
24+
set -o pipefail
25+
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
26+
elif [ "$TEST_TYPE" = Package ]; then
27+
bundle exec rake package:frameworks
28+
elif [ "$TEST_TYPE" = CocoaPods ]; then
29+
pod lib lint ParseTwitterUtils.podspec
30+
pod lib lint --use-libraries ParseTwitterUtils.podspec
31+
fi
2632
after_success:
2733
- |
2834
if [ "$TEST_TYPE" = iOS ]; then

0 commit comments

Comments
 (0)