.travis.yml 871 B

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