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.

78 lines
3.1 KiB

  1. #
  2. # This file was inspired from https://github.com/google/fruit
  3. #
  4. branches:
  5. only:
  6. - master
  7. dist: trusty
  8. language: cpp
  9. matrix:
  10. fast_finish: true
  11. include:
  12. - compiler: gcc
  13. env: COMPILER=gcc-6 UBUNTU=16.10 TEST=DebugPlain
  14. install: export OS=linux; export COMPILER='gcc-6'; export UBUNTU='16.10';
  15. travis/install_linux.sh
  16. os: linux
  17. script: export OS=linux; export COMPILER='gcc-6'; export UBUNTU='16.10';
  18. timeout 2400 travis/postsubmit.sh DebugPlain
  19. # - compiler: gcc
  20. # env: COMPILER=gcc-6 UBUNTU=17.04 TEST=DebugPlain
  21. # install: export OS=linux; export COMPILER='gcc-6'; export UBUNTU='17.04'; extras/scripts/travis_ci_install_linux.sh
  22. # os: linux
  23. # script: export OS=linux; export COMPILER='gcc-6'; export UBUNTU='17.04'; extras/scripts/postsubmit.sh
  24. # DebugPlain
  25. # - compiler: gcc
  26. # env: COMPILER=gcc-6 UBUNTU=17.04 TEST=ReleasePlain
  27. # install: export OS=linux; export COMPILER='gcc-6'; export UBUNTU='17.04'; extras/scripts/travis_ci_install_linux.sh
  28. # os: linux
  29. # script: export OS=linux; export COMPILER='gcc-6'; export UBUNTU='17.04'; extras/scripts/postsubmit.sh
  30. # ReleasePlain
  31. # - compiler: clang
  32. # env: COMPILER=clang-4.0 STL=libstdc++ UBUNTU=17.04 TEST=DebugPlain
  33. # install: export OS=linux; export COMPILER='clang-4.0'; export STL='libstdc++';
  34. # export UBUNTU='17.04'; extras/scripts/travis_ci_install_linux.sh
  35. # os: linux
  36. # script: export OS=linux; export COMPILER='clang-4.0'; export STL='libstdc++';
  37. # export UBUNTU='17.04'; extras/scripts/postsubmit.sh DebugPlain
  38. # - compiler: clang
  39. # env: COMPILER=clang-4.0 STL=libstdc++ UBUNTU=17.04 TEST=ReleasePlain
  40. # install: export OS=linux; export COMPILER='clang-4.0'; export STL='libstdc++';
  41. # export UBUNTU='17.04'; extras/scripts/travis_ci_install_linux.sh
  42. # os: linux
  43. # script: export OS=linux; export COMPILER='clang-4.0'; export STL='libstdc++';
  44. # export UBUNTU='17.04'; extras/scripts/postsubmit.sh ReleasePlain
  45. # - compiler: gcc
  46. # env: COMPILER=gcc-6 TEST=DebugPlain
  47. # install: export OS=osx; export COMPILER='gcc-6'; export INSTALL_VALGRIND=1; extras/scripts/travis_ci_install_osx.sh
  48. # os: osx
  49. # osx_image: xcode8
  50. # script: export OS=osx; export COMPILER='gcc-6'; export INSTALL_VALGRIND=1; extras/scripts/postsubmit.sh
  51. # DebugPlain
  52. - compiler: clang
  53. env: COMPILER=clang-4.0 STL=libc++ TEST=DebugPlain
  54. install: export OS=osx; export COMPILER='clang-4.0'; export STL='libc++';
  55. travis/install_osx.sh
  56. os: osx
  57. osx_image: xcode8
  58. script: export OS=osx; export COMPILER='clang-4.0'; export STL='libc++';
  59. gtimeout 2400 travis/postsubmit.sh DebugPlain
  60. # - compiler: clang
  61. # env: COMPILER=clang-default STL=libc++ TEST=DebugPlain
  62. # install: export OS=osx; export COMPILER='clang-default'; export STL='libc++';
  63. # extras/scripts/travis_ci_install_osx.sh
  64. # os: osx
  65. # osx_image: xcode8.2
  66. # script: export OS=osx; export COMPILER='clang-default'; export STL='libc++'; extras/scripts/postsubmit.sh
  67. # DebugPlain
  68. cache:
  69. directories:
  70. - build
  71. - travis/mtime_cache
  72. services:
  73. - docker
  74. sudo: required