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