2015-06-22 09:38:48 -04:00
|
|
|
sudo: false
|
2015-05-08 21:57:34 -04:00
|
|
|
language: cpp
|
|
|
|
|
2015-06-19 15:54:18 -04:00
|
|
|
before_install:
|
2015-06-18 13:34:54 -04:00
|
|
|
# Define TRAVIS variable for workarounds
|
|
|
|
- export CXXFLAGS="$CXXFLAGS -DTRAVIS"
|
2015-05-08 21:57:34 -04:00
|
|
|
|
2015-06-22 09:19:38 -04:00
|
|
|
install:
|
2015-06-22 09:46:01 -04:00
|
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
2015-06-22 09:19:38 -04:00
|
|
|
|
2015-05-08 22:00:27 -04:00
|
|
|
# Build with both gcc and clang
|
2015-05-08 21:57:34 -04:00
|
|
|
compiler:
|
2015-05-08 22:03:56 -04:00
|
|
|
- gcc
|
|
|
|
- clang
|
2015-06-22 09:38:48 -04:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- gcc-4.8
|
|
|
|
- g++-4.8
|
|
|
|
- clang
|
2015-06-22 09:46:01 -04:00
|
|
|
- libwxgtk3.0-dev
|
|
|
|
- libwxgtk3.0-0
|
|
|
|
- libssh2-1-dev
|
2015-05-08 22:03:56 -04:00
|
|
|
|
2015-06-19 15:54:18 -04:00
|
|
|
script: make clean run-tests
|