.travis.yml 780 B

123456789101112131415161718192021222324252627282930
  1. # Travis CI build file for Swift gRPC.
  2. # (Derived from https://github.com/IBM-Swift/Kitura/blob/master/.travis.yml)
  3. # Swift gRPC runs on OS X and Linux (Ubuntu).
  4. # See the following URLs for further details on Travis CI
  5. # https://docs.travis-ci.com/user/customizing-the-build/
  6. # https://docs.travis-ci.com/user/docker/
  7. # https://docs.travis-ci.com/user/multi-os/
  8. # whitelist (branches that should be built)
  9. branches:
  10. only:
  11. - master
  12. - develop
  13. - /^issue.*$/
  14. matrix:
  15. include:
  16. - os: linux
  17. dist: trusty
  18. sudo: required
  19. - os: osx
  20. osx_image: xcode8.2
  21. sudo: required
  22. before_install:
  23. - git clone https://github.com/IBM-Swift/Package-Builder.git
  24. script:
  25. - ./Package-Builder/build-package.sh -projectDir $TRAVIS_BUILD_DIR
  26. - make test