.travis.yml 712 B

123456789101112131415
  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 xcpretty -N
  7. script:
  8. - set -o pipefail
  9. - xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire iOS" -sdk iphonesimulator
  10. -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=NO test | xcpretty -c
  11. - xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire OSX" -sdk macosx10.10
  12. -destination "platform=OS X,arch=x86_64" ONLY_ACTIVE_ARCH=NO test | xcpretty -c
  13. - xcodebuild -project "iOS Example.xcodeproj" -scheme "iOS Example" -sdk iphonesimulator
  14. -destination "platform=iOS Simulator,name=iPhone 6" ONLY_ACTIVE_ARCH=YES build | xcpretty -c
  15. - pod lib lint --quick