mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-09-08 20:17:39 -04:00

- Migrating from legacy to container-based infrastructure by removing the "sudo" command and moving to addons apt packages
27 lines
499 B
YAML
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
|