1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-25 21:16:38 +03:00
kakoune/.travis.yml

31 lines
829 B
YAML
Raw Normal View History

2014-11-21 16:23:46 +03:00
language: cpp
2014-12-09 22:23:21 +03:00
os:
- linux
- osx
compiler:
- clang
- gcc
2014-11-21 16:23:46 +03:00
before_install:
2014-12-09 22:23:21 +03:00
- 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;
2014-12-09 22:23:21 +03:00
elif [ "$CXX" = "g++" ]; then
sudo apt-get install -y g++-4.8;
export CXX=g++-4.8;
2014-12-09 22:23:21 +03:00
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;
2014-11-21 16:23:46 +03:00
script: cd src && make && make test