libfreefare/.travis.yml
Romain Tartière be3e581eff Build test then run them
We do not run the test suite at the `make check` stage here in order to
have a better output.
2017-06-26 13:17:37 +02:00

25 lines
487 B
YAML

language: c
compiler:
- clang
- gcc
env:
- BLD=cmake
- BLD=autotools
addons:
apt:
sources:
- sourceline: 'ppa:cutter-testing-framework/ppa'
packages:
- libusb-dev
- cmake
- cutter-testing-framework
install:
- git clone https://github.com/nfc-tools/libnfc
- ./.travis-ci-build libnfc
script:
- ./.travis-ci-build .
- if [ "$BLD" = autotools ]; then (cd build-autotools && make check TESTS_ENVIRONMENT=SKIP_TESTS=1 && cutter test); fi