Try another kind of travis build

This commit is contained in:
Tim Warren 2015-07-10 14:39:59 -04:00
parent 4f14e4289d
commit 75d989f97a

View File

@ -1,4 +1,3 @@
sudo: required
language: cpp language: cpp
before_install: before_install:
@ -6,8 +5,7 @@ before_install:
- export CXXFLAGS="$CXXFLAGS -DTRAVIS" - export CXXFLAGS="$CXXFLAGS -DTRAVIS"
install: install:
- sudo apt-get install -qq libwxgtk3.0-dev libwxgtk3.0-0 libssh2-1-dev - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
- if [ "$CXX" = "g++" ]; then sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 98; fi
# Build with both gcc and clang # Build with both gcc and clang
compiler: compiler:
@ -19,6 +17,9 @@ addons:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test
packages: packages:
- libwxgtk3.0-dev
- libwxgtk3.0-0
- libssh2-1-dev
- gcc-4.8 - gcc-4.8
- g++-4.8 - g++-4.8
- clang - clang