libnfc/.travis.yml
2017-03-03 18:41:13 +01:00

21 lines
406 B
YAML

language: c
compiler:
- clang
- gcc
env:
- BLD=cmake
- BLD=autoconf
addons:
apt:
packages:
- libusb-dev
- doxygen
- cmake
- libcutter-dev
script:
- if [ $BLD == autoconf ]; then autoreconf -vfi && ./configure --prefix=$HOME/.local/ && make -j2 && make install; fi
- if [ $BLD == cmake ]; then cmake -DCMAKE_INSTALL_PREFIX=~/.local . && make -j2 && make install; fi