diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-12-18 13:30:44 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-12-18 13:30:44 +0100 |
commit | 0a902770e0c55166a6f1c86c3281154db830b778 (patch) | |
tree | a8b29b5198f810c0e603176c48578e25053d6050 /.travis.yml | |
parent | d1c49556b34a1736c41875148308819152164bc0 (diff) | |
download | dabmux-0a902770e0c55166a6f1c86c3281154db830b778.tar.gz dabmux-0a902770e0c55166a6f1c86c3281154db830b778.tar.bz2 dabmux-0a902770e0c55166a6f1c86c3281154db830b778.zip |
Travis CI, select right compiler
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 15345a0..40895ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,6 @@ addons: &addons - libstdc++-5-dev - swig - python - - qtbase5-dev - libzmq5-dev - libzmq5 - automake @@ -24,6 +23,23 @@ addons: &addons - ppa:chris-lea/zeromq - ppa:chris-lea/libsodium +before_script: + - | + case "$CXX" in #( + g++*) CXX=g++-5 #( + ;; + clang++*) CXX=clang++-3.7 + ;; + esac + - | + case "$CC" in #( + gcc*) CC=gcc-5 #( + ;; + clang*) CC=clang-3.7 + ;; + esac + - export CXX CC + compiler: - gcc - clang |