Fix travis.yml
This commit is contained in:
parent
f99739772b
commit
bc24424e8f
1 changed files with 10 additions and 0 deletions
10
.travis.yml
10
.travis.yml
|
@ -3,3 +3,13 @@ compiler: gcc
|
||||||
script:
|
script:
|
||||||
- cmake -DCMAKE_BUILD_TYPE=Debug test/ && make
|
- cmake -DCMAKE_BUILD_TYPE=Debug test/ && make
|
||||||
- ./unit/unit --gtest_filter='*.*'
|
- ./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
|
||||||
|
|
Loading…
Reference in a new issue