.travis.yml 573 B

12345678910111213141516
  1. language: objective-c
  2. osx_image: xcode63
  3. branches:
  4. only:
  5. - master
  6. env:
  7. - LC_CTYPE=en_US.UTF-8 LANG=en_US.UTF-8
  8. before_install:
  9. - gem install xcpretty -N
  10. script:
  11. - set -o pipefail
  12. - xcodebuild -project Alamofire.xcodeproj -scheme "Alamofire iOS" -sdk iphonesimulator
  13. -destination "platform=iOS Simulator,name=iPhone 6" 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