Fix travis.yml

This commit is contained in:
King_DuckZ 2015-07-23 23:35:02 +02:00
parent f99739772b
commit bc24424e8f
1 changed files with 10 additions and 0 deletions

View File

@ -3,3 +3,13 @@ compiler: gcc
script:
- cmake -DCMAKE_BUILD_TYPE=Debug test/ && make
- ./unit/unit --gtest_filter='*.*'
before_install:
#g++4.8.1
- if [ "$CXX" == "g++" ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi
- sudo apt-get update -qq
install:
# g++4.8.1
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.8; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi