diff --git a/.drone.yml b/.drone.yml index a058c84..97f0061 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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