2014-11-03 04:53:45 +08:00
|
|
|
|
|
|
|
language: objective-c
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
|
|
|
|
- export LANG=en_US.UTF-8
|
|
|
|
- env
|
|
|
|
- locale
|
|
|
|
- gem install cocoapods --quiet
|
|
|
|
- pod --version
|
|
|
|
- pod setup --silent
|
|
|
|
- pod repo update --silent
|
|
|
|
|
|
|
|
script:
|
|
|
|
|
|
|
|
- pod lib lint
|
2014-11-04 19:44:45 +08:00
|
|
|
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage' -sdk iphonesimulator build
|
|
|
|
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage+WebP' -sdk iphonesimulator build
|
|
|
|
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage+MKAnnotation' -sdk iphonesimulator build
|
2014-11-03 04:53:45 +08:00
|
|
|
|
2014-11-04 19:44:45 +08:00
|
|
|
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Demo' -sdk iphonesimulator build
|
2014-11-03 04:53:45 +08:00
|
|
|
|
|
|
|
- cd Tests
|
|
|
|
- pod update
|
|
|
|
- cd ..
|
2014-11-04 19:52:11 +08:00
|
|
|
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'Tests' -sdk iphonesimulator clean test
|