mstch/.travis.yml

20 lines
460 B
YAML
Raw Normal View History

2015-04-22 09:34:21 +00:00
language: cpp
compiler: gcc
before_install:
2015-04-22 09:48:46 +00:00
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
2015-04-22 10:17:18 +00:00
- sudo add-apt-repository ppa:boost-latest/ppa -y
2015-04-22 09:34:21 +00:00
- sudo apt-get update -qq
2015-04-22 10:21:01 +00:00
- sudo apt-get install -qq cmake libboost1.54-dev libboost-program-options1.54-dev g++-4.8
2015-04-22 09:48:46 +00:00
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
2015-04-22 09:34:21 +00:00
before_script:
- mkdir build
- cd build
2015-04-22 09:41:13 +00:00
- cmake -DWITH_UNIT_TESTS=ON ..
2015-04-22 09:34:21 +00:00
script: make
2015-04-22 09:41:13 +00:00
after_script: ctest