42sh is a complete POSIX-compliant alternative for /bin/sh and /bin/bash.
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.

146 lines
2.5KB

  1. language: c
  2. sudo: true
  3. script:
  4. - make test
  5. env:
  6. global:
  7. - MAKEFLAGS="-j"
  8. branches:
  9. only:
  10. - master
  11. notifications:
  12. email:
  13. on_success: never
  14. on_failure: never
  15. matrix:
  16. include:
  17. - os: osx
  18. osx_image: xcode6.4
  19. - os: osx
  20. osx_image: xcode7.3
  21. - os: osx
  22. osx_image: xcode8
  23. - os: osx
  24. osx_image: xcode8.3
  25. - os: osx
  26. osx_image: xcode9
  27. - os: osx
  28. osx_image: xcode9.1
  29. - os: osx
  30. osx_image: xcode9.2
  31. - os: osx
  32. osx_image: xcode9.3
  33. - os: osx
  34. osx_image: xcode9.4
  35. - os: osx
  36. osx_image: xcode10
  37. - os: osx
  38. osx_image: xcode10.1
  39. - os: osx
  40. osx_image: xcode10.2
  41. # Clang Linux
  42. - os: linux
  43. addons:
  44. apt:
  45. sources:
  46. - ubuntu-toolchain-r-test
  47. - llvm-toolchain-precise-3.6
  48. packages:
  49. - clang-3.6
  50. env:
  51. - MATRIX_EVAL="CC=clang-3.6 && CXX=clang++-3.6"
  52. - os: linux
  53. addons:
  54. apt:
  55. sources:
  56. - ubuntu-toolchain-r-test
  57. - llvm-toolchain-precise-3.7
  58. packages:
  59. - clang-3.7
  60. env:
  61. - MATRIX_EVAL="CC=clang-3.7 && CXX=clang++-3.7"
  62. - os: linux
  63. addons:
  64. apt:
  65. sources:
  66. - ubuntu-toolchain-r-test
  67. - llvm-toolchain-precise-3.8
  68. packages:
  69. - clang-3.8
  70. env:
  71. - MATRIX_EVAL="CC=clang-3.8 && CXX=clang++-3.8"
  72. - os: linux
  73. addons:
  74. apt:
  75. sources:
  76. - llvm-toolchain-trusty-3.9
  77. packages:
  78. - clang-3.9
  79. env:
  80. - MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9"
  81. - os: linux
  82. addons:
  83. apt:
  84. sources:
  85. - llvm-toolchain-trusty-4.0
  86. packages:
  87. - clang-4.0
  88. env:
  89. - MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0"
  90. # GCC Linux
  91. - os: linux
  92. addons:
  93. apt:
  94. sources:
  95. - ubuntu-toolchain-r-test
  96. packages:
  97. - g++-4.9
  98. env:
  99. - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
  100. - os: linux
  101. addons:
  102. apt:
  103. sources:
  104. - ubuntu-toolchain-r-test
  105. packages:
  106. - g++-6
  107. env:
  108. - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
  109. - os: linux
  110. addons:
  111. apt:
  112. sources:
  113. - ubuntu-toolchain-r-test
  114. packages:
  115. - g++-7
  116. env:
  117. - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
  118. before_install:
  119. - eval "${MATRIX_EVAL}"