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.

118 lines
2.7KB

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