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:
|
|
|
|
|
2015-03-17 21:43:11 +08:00
|
|
|
- pod lib lint --allow-warnings
|
2015-03-17 22:14:33 +08:00
|
|
|
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage' -sdk iphonesimulator -arch i386 build
|
|
|
|
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage+WebP' -sdk iphonesimulator -arch i386 build
|
|
|
|
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage+MKAnnotation' -sdk iphonesimulator -arch i386 build
|
2014-11-03 04:53:45 +08:00
|
|
|
|
2015-03-17 22:14:33 +08:00
|
|
|
- xctool -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Demo' -sdk iphonesimulator -arch i386 build
|
2014-11-03 04:53:45 +08:00
|
|
|
|
2015-03-17 22:14:33 +08:00
|
|
|
- pod install --project-directory=Tests
|
2015-03-17 22:53:00 +08:00
|
|
|
- xcodebuild -workspace SDWebImage.xcworkspace -scheme 'Tests' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6,OS=latest' test
|