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.

121 lines
3.8 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. ###
  13. # Ubuntu 16.10
  14. ###
  15. - stage: build_dep
  16. compiler: gcc
  17. env: BUILD=DefaultDebug COMPILER=gcc-6 LINUX=ubuntu-16.10
  18. install: export OS=linux; export COMPILER='gcc-6'; export LINUX='ubuntu-16.10';
  19. travis/install_linux.sh
  20. os: linux
  21. script: export OS=linux; export COMPILER='gcc-6'; export LINUX='ubuntu-16.10';
  22. travis/postsubmit.sh DefaultDebug BuildDep
  23. before_cache:
  24. docker cp storm:/storm/. .
  25. - stage: build_lib
  26. compiler: gcc
  27. env: BUILD=DefaultDebug COMPILER=gcc-6 LINUX=ubuntu-16.10
  28. install: export OS=linux; export COMPILER='gcc-6'; export LINUX='ubuntu-16.10';
  29. travis/install_linux.sh
  30. os: linux
  31. script: export OS=linux; export COMPILER='gcc-6'; export LINUX='ubuntu-16.10';
  32. travis/postsubmit.sh DefaultDebug BuildLib
  33. before_cache:
  34. docker cp storm:/storm/. .
  35. - stage: build_all
  36. compiler: gcc
  37. env: BUILD=DefaultDebug COMPILER=gcc-6 LINUX=ubuntu-16.10
  38. install: export OS=linux; export COMPILER='gcc-6'; export LINUX='ubuntu-16.10';
  39. travis/install_linux.sh
  40. os: linux
  41. script: export OS=linux; export COMPILER='gcc-6'; export LINUX='ubuntu-16.10';
  42. travis/postsubmit.sh DefaultDebug BuildAll
  43. before_cache:
  44. docker cp storm:/storm/. .
  45. - stage: test_all
  46. compiler: gcc
  47. env: BUILD=DefaultDebug COMPILER=gcc-6 LINUX=ubuntu-16.10
  48. install: export OS=linux; export COMPILER='gcc-6'; export LINUX='ubuntu-16.10';
  49. travis/install_linux.sh
  50. os: linux
  51. script: export OS=linux; export COMPILER='gcc-6'; export LINUX='ubuntu-16.10';
  52. travis/postsubmit.sh DefaultDebug TestAll
  53. before_cache:
  54. docker cp storm:/storm/. .
  55. # - compiler: gcc
  56. # env: TEST=DefaultRelease COMPILER=gcc-6 LINUX=ubuntu-16.10
  57. # install: export OS=linux; export COMPILER='gcc-6'; export LINUX='ubuntu-16.10';
  58. # travis/install_linux.sh
  59. # os: linux
  60. # script: export OS=linux; export COMPILER='gcc-6'; export LINUX='ubuntu-16.10';
  61. # travis/postsubmit.sh DefaultRelease
  62. # before_cache:
  63. # docker cp storm:/storm/. .
  64. ###
  65. # Debian 9
  66. ###
  67. # - compiler: gcc
  68. # env: TEST=DefaultDebug COMPILER=gcc-6 LINUX=debian-9
  69. # install: export OS=linux; export COMPILER='gcc-6'; export LINUX='debian-9';
  70. # travis/install_linux.sh
  71. # os: linux
  72. # script: export OS=linux; export COMPILER='gcc-6'; export LINUX='debian-9';
  73. # travis/postsubmit.sh DefaultDebug
  74. # before_cache:
  75. # docker cp storm:/storm/. .
  76. # - compiler: gcc
  77. # env: TEST=DefaultRelease COMPILER=gcc-6 LINUX=debian-9
  78. # install: export OS=linux; export COMPILER='gcc-6'; export LINUX='debian-9';
  79. # travis/install_linux.sh
  80. # os: linux
  81. # script: export OS=linux; export COMPILER='gcc-6'; export LINUX='debian-9';
  82. # travis/postsubmit.sh DefaultRelease
  83. # before_cache:
  84. # docker cp storm:/storm/. .
  85. ###
  86. # Mac OS X
  87. ###
  88. # - compiler: clang
  89. # env: TEST=DefaultDebug COMPILER=clang-4.0 STL=libc++
  90. # install: export OS=osx; export COMPILER='clang-4.0'; export STL='libc++';
  91. # travis/install_osx.sh
  92. # os: osx
  93. # osx_image: xcode8
  94. # script: export OS=osx; export COMPILER='clang-4.0'; export STL='libc++';
  95. # travis/postsubmit.sh DefaultDebug
  96. # - compiler: clang
  97. # env: TEST=DefaultRelease COMPILER=clang-4.0 STL=libc++
  98. # install: export OS=osx; export COMPILER='clang-4.0'; export STL='libc++';
  99. # travis/install_osx.sh
  100. # os: osx
  101. # osx_image: xcode8
  102. # script: export OS=osx; export COMPILER='clang-4.0'; export STL='libc++';
  103. # travis/postsubmit.sh DefaultRelease
  104. # Enable caching
  105. cache:
  106. timeout: 600
  107. directories:
  108. - build
  109. - travis/mtime_cache
  110. # Enable docker support
  111. services:
  112. - docker
  113. sudo: required