1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-27 12:16:22 +03:00
kakoune/.travis.yml
Maxime Coste d1627dfa08 Revert "Use gcc-4.9 in travis tests"
This reverts commit 9d4f397e39.
2015-05-26 19:03:05 +01:00

31 lines
829 B
YAML

language: cpp
os:
- linux
- osx
compiler:
- clang
- gcc
before_install:
- if [ $TRAVIS_OS_NAME = linux ]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y;
sudo add-apt-repository ppa:boost-latest/ppa -y;
sudo apt-get update -qq;
elif [ $TRAVIS_OS_NAME = osx ]; then
brew update;
fi;
install:
- if [ $TRAVIS_OS_NAME = linux ]; then
if [ "$CXX" = "clang++" ]; then
sudo apt-get install -y libstdc++-4.8-dev;
elif [ "$CXX" = "g++" ]; then
sudo apt-get install -y g++-4.8;
export CXX=g++-4.8;
fi;
sudo apt-get install -y libncursesw5-dev;
sudo apt-get install -y libboost-regex1.54-dev;
elif [ $TRAVIS_OS_NAME = osx ]; then
brew outdated boost || brew upgrade boost;
fi;
script: cd src && make && make test