stduuid/.travis.yml
2018-11-16 12:30:19 +02:00

25 lines
600 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
- sudo apt-cache search libuuid
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
- sudo apt-get install uuid-dev
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 .