You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.travis.yml 610 B

123456789101112131415161718192021222324252627282930
  1. sudo: required
  2. language: cpp
  3. matrix:
  4. include:
  5. # works on Precise and Trusty
  6. - os: linux
  7. addons:
  8. apt:
  9. sources:
  10. - ubuntu-toolchain-r-test
  11. packages:
  12. - g++-6
  13. env:
  14. - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
  15. - os: osx
  16. osx_image: xcode8
  17. env:
  18. - MATRIX_EVAL="brew update && brew upgrade && brew install gcc@6 && CC=gcc-6 && CXX=g++-6"
  19. before_install:
  20. - eval "${MATRIX_EVAL}"
  21. install:
  22. - ./install.sh
  23. script:
  24. - ant test
  25. after_script:
  26. - ./uninstall.sh
  27. after_success:
  28. - bash <(curl -s https://codecov.io/bash)