Updated Travis CI script, replaced xcpretty with xctool
Showing
1 changed file
with
6 additions
and
7 deletions
@@ -7,7 +7,6 @@ before_install: | @@ -7,7 +7,6 @@ before_install: | ||
7 | - env | 7 | - env |
8 | - locale | 8 | - locale |
9 | - gem install cocoapods --quiet | 9 | - gem install cocoapods --quiet |
10 | - - gem install xcpretty --quiet | ||
11 | - pod --version | 10 | - pod --version |
12 | - pod setup --silent | 11 | - pod setup --silent |
13 | - pod repo update --silent | 12 | - pod repo update --silent |
@@ -15,15 +14,15 @@ before_install: | @@ -15,15 +14,15 @@ before_install: | ||
15 | script: | 14 | script: |
16 | 15 | ||
17 | - pod lib lint | 16 | - 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 |
19 | 18 | ||
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 | ||
23 | 22 | ||
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 |
25 | 24 | ||
26 | - cd Tests | 25 | - cd Tests |
27 | - pod update | 26 | - pod update |
28 | - cd .. | 27 | - 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 |
-
Please register or login to post a comment