aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.travis.yml18
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