libnfc/.travis.yml
2019-08-21 10:06:19 +02:00

20 lines
442 B
YAML

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