2017-06-26 11:09:17 +02:00
|
|
|
language: c
|
|
|
|
|
|
|
|
compiler:
|
|
|
|
- clang
|
|
|
|
- gcc
|
|
|
|
|
|
|
|
env:
|
|
|
|
- BLD=cmake
|
2017-06-26 11:15:12 +02:00
|
|
|
- BLD=autotools
|
2017-06-26 11:09:17 +02:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
2017-06-26 11:52:00 +02:00
|
|
|
sources:
|
|
|
|
- sourceline: 'ppa:cutter-testing-framework/ppa'
|
2017-06-26 11:09:17 +02:00
|
|
|
packages:
|
|
|
|
- libusb-dev
|
|
|
|
- cmake
|
2017-06-26 11:52:00 +02:00
|
|
|
- cutter-testing-framework
|
2017-06-26 11:09:17 +02:00
|
|
|
|
2017-06-26 11:15:12 +02:00
|
|
|
install:
|
|
|
|
- git clone https://github.com/nfc-tools/libnfc
|
|
|
|
- ./.travis-ci-build libnfc
|
2017-06-26 11:43:17 +02:00
|
|
|
script:
|
|
|
|
- ./.travis-ci-build .
|
2017-06-26 12:49:54 +02:00
|
|
|
- if [ "$BLD" = autotools ]; then (cd build-autotools && make check TESTS_ENVIRONMENT=SKIP_TESTS=1 && cutter test); fi
|