You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
language: cpp
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
|
|
|
before_install:
|
|
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- if [ "$CXX" = "clang++" ]; then sudo apt-get install -qq libstdc++-4.9-dev clang-3.4; fi
|
|
|
|
- if [ "$CXX" = "g++" ]; then sudo apt-get install -qq g++-4.9; fi
|
|
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
|
|
|
|
|
|
|
|
env:
|
|
|
|
- BUILD_TYPE=Debug
|
|
|
|
- BUILD_TYPE=Release
|
|
|
|
|
|
|
|
install:
|
|
|
|
- cmake .
|
|
|
|
- make
|
|
|
|
|
|
|
|
script:
|
|
|
|
- cd test
|
|
|
|
- ./test_bin
|