continuable/.travis.yml
Denis Blank d407fa6387 rename
2015-06-17 14:42:14 +02:00

36 lines
1.0 KiB
YAML

language: cpp
compiler:
- gcc
- clang
before_install:
- 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
# clang 3.4
- if [ "$CXX" == "clang++" ]; then sudo add-apt-repository -y ppa:h-rayflood/llvm; fi
- sudo apt-get -qq update
- sudo apt-get -qq install build-essential libtool make cmake
- sudo apt-get install -qq gcc-4.8 g++-4.8
- sudo apt-get -qq install libboost1.55-dev libboost-thread1.55-dev libboost-filesystem1.55-dev libboost-system1.55-dev libboost-program-options1.55-dev libboost-iostreams1.55-dev
install:
# g++4.8.1
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
# clang 3.4
- if [ "$CXX" == "clang++" ]; then sudo apt-get install --allow-unauthenticated -qq clang-3.4; fi
- if [ "$CXX" == "clang++" ]; then export CXX="clang++-3.4"; fi
- mkdir bin
- cd bin
- cmake ../ -DCMAKE_BUILD_TYPE=Release
script:
- $CXX --version
- make -j 4
- ./continue_test