Commit 7f4dd15743378ba7561ce1f3346ef3a50c28d5ab
1 parent
c6554ddc
use the right compiler
Showing
1 changed file
with
2 additions
and
2 deletions
.travis.yml
| ... | ... | @@ -2,7 +2,6 @@ sudo: required |
| 2 | 2 | dist: trusty |
| 3 | 3 | language: c++ |
| 4 | 4 | os: |
| 5 | - - linux | |
| 6 | 5 | - osx |
| 7 | 6 | matrix: |
| 8 | 7 | include: |
| ... | ... | @@ -22,4 +21,5 @@ matrix: |
| 22 | 21 | packages: |
| 23 | 22 | - clang-3.8 |
| 24 | 23 | sources: *sources |
| 25 | -script: cmake -DCXXOPTS_BUILD_TESTS=ON . && make && make test | |
| 24 | +script: cmake -DCXXOPTS_BUILD_TESTS=ON -DCMAKE_CXX_COMPILER=$COMPILER_NAME \ | |
| 25 | + . && make && make test | ... | ... |