.travis.yml 655 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. dist: trusty
  2. sudo: required
  3. language: cpp
  4. script:
  5. - (CXXFLAGS=-O3 scons -k)
  6. matrix:
  7. include:
  8. - os: linux
  9. addons:
  10. apt:
  11. sources:
  12. - ubuntu-toolchain-r-test
  13. packages:
  14. - g++-6
  15. install:
  16. - sudo pip install colorama
  17. env:
  18. - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
  19. # works on Precise and Trusty
  20. - os: linux
  21. addons:
  22. apt:
  23. sources:
  24. - ubuntu-toolchain-r-test
  25. packages:
  26. - g++-7
  27. install:
  28. - sudo pip install colorama
  29. env:
  30. - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
  31. before_install:
  32. - eval "${MATRIX_EVAL}"