Skip to content

Commit ef9a279

Browse files
committed
Updated Travis CI script, replaced xcpretty with xctool
1 parent 01931d1 commit ef9a279

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.travis.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,22 @@ before_install:
77
- env
88
- locale
99
- gem install cocoapods --quiet
10-
- gem install xcpretty --quiet
1110
- pod --version
1211
- pod setup --silent
1312
- pod repo update --silent
1413

1514
script:
1615

1716
- pod lib lint
18-
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'SDWebImage' -sdk iphonesimulator clean build | xcpretty -c; exit ${PIPESTATUS[0]}
17+
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage' -sdk iphonesimulator clean build
1918

20-
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'SDWebImage' -sdk iphoneos clean build | xcpretty -c; exit ${PIPESTATUS[0]}
21-
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'SDWebImage+WebP' -sdk iphoneos clean build | xcpretty -c; exit ${PIPESTATUS[0]}
22-
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'SDWebImage+MKAnnotation' -sdk iphoneos clean build | xcpretty -c; exit ${PIPESTATUS[0]}
19+
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage' -sdk iphoneos clean build
20+
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage+WebP' -sdk iphoneos clean build
21+
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage+MKAnnotation' -sdk iphoneos clean build
2322

24-
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Demo' -sdk iphoneos clean build | xcpretty -c; exit ${PIPESTATUS[0]}
23+
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Demo' clean build
2524

2625
- cd Tests
2726
- pod update
2827
- cd ..
29-
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'Tests' -sdk iphoneos clean test | xcpretty -c; exit ${PIPESTATUS[0]}
28+
- xctool -workspace SDWebImage.xcworkspace -scheme 'Tests' clean test

0 commit comments

Comments
 (0)