Updated Travis CI script, replaced xcpretty with xctool
This commit is contained in:
parent
01931d1d89
commit
ef9a2798a7
13
.travis.yml
13
.travis.yml
|
@ -7,7 +7,6 @@ before_install:
|
|||
- env
|
||||
- locale
|
||||
- gem install cocoapods --quiet
|
||||
- gem install xcpretty --quiet
|
||||
- pod --version
|
||||
- pod setup --silent
|
||||
- pod repo update --silent
|
||||
|
@ -15,15 +14,15 @@ before_install:
|
|||
script:
|
||||
|
||||
- pod lib lint
|
||||
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'SDWebImage' -sdk iphonesimulator clean build | xcpretty -c; exit ${PIPESTATUS[0]}
|
||||
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage' -sdk iphonesimulator clean build
|
||||
|
||||
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'SDWebImage' -sdk iphoneos clean build | xcpretty -c; exit ${PIPESTATUS[0]}
|
||||
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'SDWebImage+WebP' -sdk iphoneos clean build | xcpretty -c; exit ${PIPESTATUS[0]}
|
||||
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'SDWebImage+MKAnnotation' -sdk iphoneos clean build | xcpretty -c; exit ${PIPESTATUS[0]}
|
||||
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage' -sdk iphoneos clean build
|
||||
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage+WebP' -sdk iphoneos clean build
|
||||
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage+MKAnnotation' -sdk iphoneos clean build
|
||||
|
||||
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Demo' -sdk iphoneos clean build | xcpretty -c; exit ${PIPESTATUS[0]}
|
||||
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Demo' clean build
|
||||
|
||||
- cd Tests
|
||||
- pod update
|
||||
- cd ..
|
||||
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'Tests' -sdk iphoneos clean test | xcpretty -c; exit ${PIPESTATUS[0]}
|
||||
- xctool -workspace SDWebImage.xcworkspace -scheme 'Tests' clean test
|
Loading…
Reference in New Issue