stduuid/.travis.yml
2018-11-15 16:10:48 +02:00

23 lines
515 B
YAML

language: cpp
compiler: gcc
dist: trusty
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
install:
- sudo apt-get install -qq g++-8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 90
- sudo apt-get install -qq cppcheck
before_script:
- cd ${TRAVIS_BUILD_DIR}
- cmake -H. -BBuild -DCMAKE_BUILD_TYPE=Release -Wdev
- cd Build
script:
- make -j 2
- ctest -V -j 2 -C Release
- cppcheck --quiet --error-exitcode=1 .