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