2014-11-21 16:23:46 +03:00
|
|
|
language: cpp
|
2015-08-12 21:17:17 +03:00
|
|
|
|
|
|
|
sudo: false
|
|
|
|
|
2014-12-09 22:23:21 +03:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
2015-08-12 21:17:17 +03:00
|
|
|
|
2014-11-21 16:35:56 +03:00
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
2015-08-12 21:17:17 +03:00
|
|
|
|
2014-11-21 16:23:46 +03:00
|
|
|
before_install:
|
2015-08-12 21:17:17 +03:00
|
|
|
- if [ $TRAVIS_OS_NAME = osx ]; then
|
2014-12-09 22:23:21 +03:00
|
|
|
brew update;
|
|
|
|
fi;
|
2015-08-12 21:17:17 +03:00
|
|
|
|
2014-12-09 22:23:21 +03:00
|
|
|
install:
|
2015-08-12 21:17:17 +03:00
|
|
|
- if [ $TRAVIS_OS_NAME = linux -a "$CXX" = "g++" ]; then
|
2015-05-26 21:03:05 +03:00
|
|
|
export CXX=g++-4.8;
|
2014-12-09 22:23:21 +03:00
|
|
|
elif [ $TRAVIS_OS_NAME = osx ]; then
|
|
|
|
brew outdated boost || brew upgrade boost;
|
|
|
|
fi;
|
|
|
|
|
2015-08-12 21:17:17 +03:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- boost-latest
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- libstdc++-4.8-dev
|
|
|
|
- g++-4.8
|
|
|
|
- libncursesw5-dev
|
2015-08-12 21:26:26 +03:00
|
|
|
- libboost-regex1.55-dev
|
2015-08-12 21:17:17 +03:00
|
|
|
|
2014-11-21 16:23:46 +03:00
|
|
|
script: cd src && make && make test
|