SQLiteCpp/.travis.yml
Sébastien Rombauts ebd19b0b05 Update to Travis Continuous Integration build script
- Migrating from legacy to container-based infrastructure
   by removing the "sudo" command and moving to addons apt packages
2015-10-07 21:53:00 +02:00

27 lines
499 B
YAML

# Copyright (c) 2012-2015 Sebastien Rombauts (sebastien.rombauts@gmail.com)
language: cpp
# compilers to add to build matrix
compiler:
- gcc
- clang
sudo: false
addons:
apt:
packages:
- cppcheck
# scripts to run before build
before_script:
- mkdir build
- cd build
- cmake -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_RUN_DOXYGEN=OFF ..
# build examples, and run tests (ie make & make test)
script:
- cmake --build .
- ctest --output-on-failure