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

Commit ee0770f

Browse files
committed
Update CocoaPods to latest when running on Travis-CI.
1 parent 2dccbdf commit ee0770f

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

.travis.yml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,24 @@ 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 update cocoapods
19+
bundle install
1520
script:
1621
- |
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
22+
if [ "$TEST_TYPE" = iOS ]; then
23+
set -o pipefail
24+
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
25+
elif [ "$TEST_TYPE" = Package ]; then
26+
bundle exec rake package:frameworks
27+
elif [ "$TEST_TYPE" = CocoaPods ]; then
28+
pod lib lint ParseTwitterUtils.podspec
29+
pod lib lint --use-libraries ParseTwitterUtils.podspec
30+
fi
2631
after_success:
2732
- |
2833
if [ "$TEST_TYPE" = iOS ]; then

0 commit comments

Comments
 (0)