Added Travis CI configuration file
Showing
1 changed file
with
29 additions
and
0 deletions
.travis.yml
0 → 100644
1 | + | ||
2 | +language: objective-c | ||
3 | + | ||
4 | +before_install: | ||
5 | + | ||
6 | + - export LANG=en_US.UTF-8 | ||
7 | + - env | ||
8 | + - locale | ||
9 | + - gem install cocoapods --quiet | ||
10 | + - gem install xcpretty --quiet | ||
11 | + - pod --version | ||
12 | + - pod setup --silent | ||
13 | + - pod repo update --silent | ||
14 | + | ||
15 | +script: | ||
16 | + | ||
17 | + - pod lib lint | ||
18 | + - xcodebuild -workspace SDWebImage.xcworkspace -scheme 'SDWebImage' -sdk iphonesimulator clean build | xcpretty -c; exit ${PIPESTATUS[0]} | ||
19 | + | ||
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]} | ||
23 | + | ||
24 | + - xcodebuild -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Demo' -sdk iphoneos clean build | xcpretty -c; exit ${PIPESTATUS[0]} | ||
25 | + | ||
26 | + - cd Tests | ||
27 | + - pod update | ||
28 | + - cd .. | ||
29 | + - xcodebuild -workspace SDWebImage.xcworkspace -scheme 'Tests' -sdk iphoneos clean test | xcpretty -c; exit ${PIPESTATUS[0]} |
-
Please register or login to post a comment