continuable/.travis.yml
Naios 0174c6a379 Revert "use gcc 4.9"
This reverts commit 54406d7ab562becdd7eb13af868cc07470ac46e0.
2015-06-11 00:36:12 +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
- ./fluent_test