|
|
@@ -1,16 +1,16 @@
|
|
|
language: objective-c
|
|
|
osx_image: beta-xcode6.3
|
|
|
env:
|
|
|
-- LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
|
|
|
+ - LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
|
|
|
before_install:
|
|
|
-- gem install xcpretty -N
|
|
|
+ - gem install cocoapods --no-rdoc --no-ri --no-document --quiet
|
|
|
+ - gem install xcpretty --no-rdoc --no-ri --no-document --quiet
|
|
|
script:
|
|
|
-- set -o pipefail
|
|
|
-- xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire iOS" -sdk iphonesimulator
|
|
|
- -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=NO test | xcpretty -c
|
|
|
-- xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire OSX" -sdk macosx10.10
|
|
|
- -destination "platform=OS X,arch=x86_64" ONLY_ACTIVE_ARCH=NO test | xcpretty -c
|
|
|
-- xcodebuild -project "iOS Example.xcodeproj" -scheme "iOS Example" -sdk iphonesimulator
|
|
|
- -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=YES build | xcpretty -c
|
|
|
-- gem install cocoapods
|
|
|
-- pod lib lint --quick
|
|
|
+ - set -o pipefail
|
|
|
+ - xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire iOS" -sdk iphonesimulator
|
|
|
+ -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=NO test | xcpretty -c
|
|
|
+ - xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire OSX" -sdk macosx10.10
|
|
|
+ -destination "platform=OS X,arch=x86_64" ONLY_ACTIVE_ARCH=NO test | xcpretty -c
|
|
|
+ - xcodebuild -project "iOS Example.xcodeproj" -scheme "iOS Example" -sdk iphonesimulator
|
|
|
+ -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=YES build | xcpretty -c
|
|
|
+ - pod lib lint --quick
|