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.

46 regels
901 B

  1. sudo: required
  2. language: cpp
  3. matrix:
  4. include:
  5. - os: linux
  6. addons:
  7. apt:
  8. sources:
  9. - ubuntu-toolchain-r-test
  10. packages:
  11. - g++-6
  12. env:
  13. - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
  14. - os: linux
  15. addons:
  16. apt:
  17. sources:
  18. - ubuntu-toolchain-r-test
  19. packages:
  20. - g++-7
  21. env:
  22. - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
  23. - os: osx
  24. osx_image: xcode8
  25. env:
  26. - MATRIX_EVAL="brew update && brew install gcc6 && CC=gcc-6 && CXX=g++-6"
  27. - os: osx
  28. osx_image: xcode8
  29. env:
  30. - MATRIX_EVAL="brew update && brew install gcc && CC=gcc-7 && CXX=g++-7"
  31. before_install:
  32. - eval "${MATRIX_EVAL}"
  33. install:
  34. - ./install.sh
  35. script:
  36. - ant test
  37. after_script:
  38. - ./uninstall.sh
  39. after_success:
  40. - bash <(curl -s https://codecov.io/bash)