libnfc/.travis.yml
Romain Tartière c59219905c Do outsource builds on CI
This helps figurig-out missing -I more easily.
2019-02-08 07:29:42 -10:00

21 lines
462 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 && 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