CI: Added tests and examples, fixed omission.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2019-07-22 02:46:25 +02:00
parent 4b3ececa13
commit 1cca2b7406
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 4 additions and 3 deletions

View File

@ -11,6 +11,7 @@ trigger:
exclude:
- tag
steps:
- name: gcc5
image: debian:stretch-slim
pull: always
@ -29,12 +30,12 @@ trigger:
- gpg --armor --export 0x60c317803a41ba51845e371a1e9377a2ba9ef27f | apt-key add -
- apt-get update -q
- apt-get install -qy -t xenial g++-5
- apt-get install -qy cmake pkg-config
- apt-get install -qy libconfig++-dev libxdg-basedir-dev
- apt-get install -qy cmake pkg-config libconfig++-dev libxdg-basedir-dev catch
- rm -rf build && mkdir -p build && cd build
- cmake ..
- cmake -DWITH_TESTS=YES -DWITH_EXAMPLES=YES ..
- make VERBOSE=1
- make install DESTDIR=install
- cd tests && ctest -Q
volumes:
- name: debian-package-cache
path: /var/cache/apt/archives