jack2 codebase
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.

159 lines
3.6KB

  1. language:
  2. - cpp
  3. sudo: required
  4. matrix:
  5. include:
  6. # linux with gcc 9
  7. - os: linux
  8. addons:
  9. apt:
  10. sources:
  11. - ubuntu-toolchain-r-test
  12. install:
  13. - gcc-9
  14. dist: bionic
  15. env:
  16. - MATRIX_EVAL="CC=gcc-9 CXX=g++-9"
  17. compiler: gcc
  18. # linux with gcc 8
  19. - os: linux
  20. addons:
  21. apt:
  22. sources:
  23. - ubuntu-toolchain-r-test
  24. install:
  25. - gcc-8
  26. dist: bionic
  27. env:
  28. - MATRIX_EVAL="CC=gcc-8 CXX=g++-8"
  29. compiler: gcc
  30. # linux with gcc 7
  31. - os: linux
  32. addons:
  33. apt:
  34. sources:
  35. - ubuntu-toolchain-r-test
  36. install:
  37. - gcc-7
  38. dist: bionic
  39. env:
  40. - MATRIX_EVAL="CC=gcc-7 CXX=g++-7"
  41. compiler: gcc
  42. # linux with gcc 6
  43. - os: linux
  44. addons:
  45. apt:
  46. sources:
  47. - ubuntu-toolchain-r-test
  48. install:
  49. - gcc-6
  50. dist: bionic
  51. env:
  52. - MATRIX_EVAL="CC=gcc-6 CXX=g++-6"
  53. compiler: gcc
  54. # linux with gcc 5
  55. - os: linux
  56. dist: bionic
  57. env:
  58. - MATRIX_EVAL="CC=gcc CXX=g++"
  59. compiler: gcc
  60. # linux with gcc 4
  61. - os: linux
  62. dist: xenial
  63. env:
  64. - MATRIX_EVAL="CC=gcc CXX=g++"
  65. compiler: gcc
  66. # linux with clang 8
  67. - os: linux
  68. addons:
  69. apt:
  70. sources:
  71. - ubuntu-toolchain-r-test
  72. install:
  73. - clang-8
  74. dist: bionic
  75. env:
  76. - MATRIX_EVAL="CC=clang-8 CXX=clang++-8"
  77. compiler: clang
  78. # linux with clang 6
  79. - os: linux
  80. addons:
  81. apt:
  82. sources:
  83. - ubuntu-toolchain-r-test
  84. install:
  85. - clang-6.0
  86. dist: bionic
  87. env:
  88. - MATRIX_EVAL="CC=clang-6.0 CXX=clang++-6.0"
  89. compiler: clang
  90. # linux with clang 3.8
  91. - os: linux
  92. addons:
  93. apt:
  94. sources:
  95. - ubuntu-toolchain-r-test
  96. install:
  97. - clang-3.8
  98. dist: xenial
  99. env:
  100. - MATRIX_EVAL="CC=clang-3.8 CXX=clang++-3.8"
  101. compiler: clang
  102. ## osx with xcode8.3/clang
  103. #- os: osx
  104. #osx_image: xcode8.3
  105. #compiler: clang
  106. ## osx with xcode9.2/clang
  107. #- os: osx
  108. #osx_image: xcode9.2
  109. #compiler: clang
  110. ## osx with xcode10.0/clang
  111. #- os: osx
  112. #osx_image: xcode10
  113. #compiler: clang
  114. ## osx with xcode10.1/clang
  115. #- os: osx
  116. #osx_image: xcode10.1
  117. #compiler: clang
  118. ## osx with xcode/clang (default)
  119. #- os: osx
  120. #compiler: clang
  121. before_install:
  122. - eval "${MATRIX_EVAL}"
  123. # uninstalling oclint, as it's preinstalled and conflicts with all versions of gcc
  124. - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
  125. brew cask uninstall oclint || true;
  126. brew update;
  127. fi
  128. - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
  129. install:
  130. - ./.ci/install-deps.sh
  131. before_script:
  132. - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig; fi
  133. script:
  134. - if [ "$TRAVIS_OS_NAME" == "linux" ]; then
  135. ./waf configure --prefix=/usr --alsa --classic --dbus --systemd-unit;
  136. ./waf -v build;
  137. sudo ./waf -v install;
  138. fi
  139. - if [ "$TRAVIS_OS_NAME" == "osx" ]; then
  140. CXXFLAGS="${CXXFLAGS} -flax-vector-conversions" python2 ./waf configure;
  141. CXXFLAGS="${CXXFLAGS} -flax-vector-conversions" python2 ./waf -v build;
  142. sudo python2 ./waf -v install;
  143. fi
  144. # run very basic tests
  145. - sudo .ci/test_run.sh
  146. branches:
  147. only:
  148. - /.*/
  149. notifications:
  150. email: false
  151. # vim:set ts=2 sw=2 et: