Crow/.travis.yml

22 lines
553 B
YAML
Raw Normal View History

2014-09-12 06:40:57 +00:00
language: cpp
compiler:
- gcc
- clang
before_script:
2014-09-12 07:28:58 +00:00
- sudo add-apt-repository -y ppa:kalakris/cmake
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:boost-latest/ppa
2014-09-12 07:28:58 +00:00
- sudo apt-get -qq update
- sudo apt-get install -qq libboost1.55-all-dev
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
2014-09-12 06:40:57 +00:00
- mkdir build
- cd build
- sudo apt-get install cmake
- cmake --version
2014-09-12 06:40:57 +00:00
- cmake ..
script: make && ctest