Commit 9ee47357ebcf57e45fd0cd557c24a69203b579ee
1 parent
f1db9ded
Adding more builds to travis
Showing
1 changed file
with
27 additions
and
8 deletions
.travis.yml
| ... | ... | @@ -5,16 +5,35 @@ cache: |
| 5 | 5 | directories: |
| 6 | 6 | - ${TRAVIS_BUILD_DIR}/deps/cmake |
| 7 | 7 | |
| 8 | -addons: | |
| 9 | - apt: | |
| 10 | - packages: | |
| 11 | - - g++-4.9 | |
| 12 | - - gcc-4.9 | |
| 13 | - sources: | |
| 14 | - - ubuntu-toolchain-r-test | |
| 8 | +matrix: | |
| 9 | + include: | |
| 10 | + - compiler: gcc | |
| 11 | + addons: | |
| 12 | + apt: | |
| 13 | + sources: | |
| 14 | + - ubuntu-toolchain-r-testt | |
| 15 | + packages: | |
| 16 | + - g++-4.9 | |
| 17 | + env: COMPILER=g++-4.9 | |
| 18 | + - compiler: gcc | |
| 19 | + addons: | |
| 20 | + apt: | |
| 21 | + sources: | |
| 22 | + - ubuntu-toolchain-r-testt | |
| 23 | + packages: | |
| 24 | + - g++-4.8 | |
| 25 | + env: COMPILER=g++-4.8 | |
| 26 | + - compiler: clang | |
| 27 | + addons: | |
| 28 | + apt: | |
| 29 | + sources: | |
| 30 | + - ubuntu-toolchain-r-testt | |
| 31 | + - llvm-toolchain-precise-3.6 | |
| 32 | + packages: | |
| 33 | + - clang-3.6 | |
| 34 | + env: COMPILER=g++-5 | |
| 15 | 35 | |
| 16 | 36 | install: |
| 17 | - - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi | |
| 18 | 37 | - DEPS_DIR="${TRAVIS_BUILD_DIR}/deps" |
| 19 | 38 | - CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz" |
| 20 | 39 | - cd "${DEPS_DIR}" | ... | ... |