2015-07-23 21:20:59 +00:00
|
|
|
language: cpp
|
|
|
|
compiler: gcc
|
2015-07-23 21:23:43 +00:00
|
|
|
script:
|
2015-07-23 21:28:19 +00:00
|
|
|
- cmake -DCMAKE_BUILD_TYPE=Debug test/ && make
|
2015-07-23 21:20:59 +00:00
|
|
|
- ./unit/unit --gtest_filter='*.*'
|
2015-07-23 21:35:02 +00:00
|
|
|
|
|
|
|
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
|