🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
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.

98 lines
2.4 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. sudo: required
  2. dist: trusty
  3. language: cpp
  4. os:
  5. - linux
  6. matrix:
  7. include:
  8. - os: linux
  9. env: COMPILER=g++-6
  10. addons:
  11. apt:
  12. packages:
  13. - g++-6
  14. sources: &sources
  15. - llvm-toolchain-trusty-3.8
  16. - llvm-toolchain-trusty-5.0
  17. - ubuntu-toolchain-r-test
  18. - os: linux
  19. env: COMPILER=g++-6 UNICODE_OPTIONS=-DCXXOPTS_USE_UNICODE_HELP=Yes
  20. addons:
  21. apt:
  22. packages:
  23. - g++-6
  24. sources: *sources
  25. - os: linux
  26. env: COMPILER=g++-7
  27. addons:
  28. apt:
  29. packages:
  30. - g++-7
  31. sources: *sources
  32. - os: linux
  33. env: COMPILER=g++-7 UNICODE_OPTIONS=-DCXXOPTS_USE_UNICODE_HELP=Yes
  34. addons:
  35. apt:
  36. packages:
  37. - g++-7
  38. sources: *sources
  39. - os: linux
  40. env: COMPILER=g++-5
  41. addons:
  42. apt:
  43. packages:
  44. - g++-5
  45. sources: *sources
  46. - os: linux
  47. env: COMPILER=g++-5 UNICODE_OPTIONS=-DCXXOPTS_USE_UNICODE_HELP=Yes
  48. addons:
  49. apt:
  50. packages:
  51. - g++-5
  52. sources: *sources
  53. - os: linux
  54. env: COMPILER=g++-4.8
  55. addons:
  56. apt:
  57. packages:
  58. - g++-4.8
  59. sources: *sources
  60. - os: linux
  61. env: COMPILER=g++-4.8 UNICODE_OPTIONS=-DCXXOPTS_USE_UNICODE_HELP=Yes
  62. addons:
  63. apt:
  64. packages:
  65. - g++-4.8
  66. sources: *sources
  67. - os: linux
  68. env: COMPILER=clang++-3.8 CXXFLAGS=-stdlib=libc++
  69. addons:
  70. apt:
  71. packages:
  72. - clang-3.8
  73. - libc++-dev
  74. sources: *sources
  75. - os: linux
  76. env: COMPILER=clang++-3.8 CXXFLAGS=-stdlib=libc++ UNICODE_OPTIONS=-DCXXOPTS_USE_UNICODE_HELP=Yes
  77. addons:
  78. apt:
  79. packages:
  80. - clang-3.8
  81. - libc++-dev
  82. sources: *sources
  83. - os: linux
  84. env: COMPILER=clang++-5.0 CMAKE_OPTIONS=-DCXXOPTS_CXX_STANDARD=17
  85. addons:
  86. apt:
  87. packages:
  88. - clang-5.0
  89. - g++-5
  90. sources: *sources
  91. script: >
  92. cmake -Werror=dev -DCXXOPTS_BUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$COMPILER
  93. -DCMAKE_CXX_FLAGS=$CXXFLAGS $UNICODE_OPTIONS $CMAKE_OPTIONS .
  94. && make && make ARGS=--output-on-failure test
  95. before_install:
  96. - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
  97. - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install icu4c; fi