.travis.yml 846 B

123456789101112131415161718192021222324252627282930
  1. # sign in at https://travis-ci.org/#
  2. #
  3. # http://docs.travis-ci.com/user/build-configuration/#Specify-branches-to-build
  4. branches:
  5. only:
  6. - master
  7. - develop
  8. #
  9. # https://github.com/travis-ci/travis-ci/issues/2197#issuecomment-41177752
  10. # before_install:
  11. # - brew update
  12. # - brew upgrade xctool
  13. #
  14. # http://docs.travis-ci.com/user/installing-dependencies/#Installing-Projects-from-Source
  15. # http://docs.travis-ci.com/user/build-timeouts/#Build-times-out-because-no-output-was-received
  16. install:
  17. - cd Redland-source && travis_wait python cross-compile.py
  18. - cd -
  19. #
  20. # http://docs.travis-ci.com/user/languages/objective-c/
  21. language: objective-c
  22. xcode_sdk:
  23. - iphonesimulator
  24. xcode_project: Redland.xcodeproj
  25. xcode_scheme: Redland iOS
  26. #
  27. # http://docs.travis-ci.com/user/caching/#Arbitrary-directories
  28. cache:
  29. directories:
  30. - Redland-source