2015-06-08 18:57:15 +00:00
|
|
|
language: cpp
|
2016-11-01 16:55:32 +00:00
|
|
|
dist: trusty
|
2015-06-08 18:57:15 +00:00
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
2018-05-07 03:11:50 +00:00
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- ENABLE_UI=OFF
|
|
|
|
- ENABLE_UI=ON
|
|
|
|
|
2015-06-08 19:49:36 +00:00
|
|
|
before_install:
|
2016-06-28 23:17:30 +00:00
|
|
|
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
2015-06-08 19:49:36 +00:00
|
|
|
- sudo apt-get update -qq
|
2016-06-28 23:17:30 +00:00
|
|
|
- sudo apt-get install -y -qq g++-4.8
|
2015-06-08 19:49:36 +00:00
|
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8"; fi
|
|
|
|
|
2015-06-08 18:57:15 +00:00
|
|
|
before_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2018-05-07 03:11:50 +00:00
|
|
|
- cmake .. -DENABLE_TESTS=ON -DENABLE_UI=$ENABLE_UI
|
2015-06-08 18:57:15 +00:00
|
|
|
|
|
|
|
script:
|
|
|
|
- "make"
|
2015-09-21 19:45:25 +00:00
|
|
|
- "ctest --output-on-failure"
|