28 lines
516 B
YAML
28 lines
516 B
YAML
language: cpp
|
|
compiler: gcc
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- cppcheck
|
|
- g++-8
|
|
- uuid-dev
|
|
|
|
before_install:
|
|
- sudo apt-cache search libuuid
|
|
|
|
install:
|
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
|
|
|
|
before_script:
|
|
- cd ${TRAVIS_BUILD_DIR}
|
|
- cmake -H. -BBuild -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=ON -Wdev
|
|
- cd Build
|
|
|
|
script:
|
|
- make -j 2
|
|
- ctest -V -j 2 -C Release
|
|
- cppcheck --quiet --error-exitcode=1 .
|
|
|