.travis.yml 835 B

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