Test Travis builds
This commit is contained in:
parent
b65674a8e3
commit
86ce8dff52
1 changed files with 11 additions and 7 deletions
18
.travis.yml
18
.travis.yml
|
@ -1,4 +1,12 @@
|
||||||
language: cpp
|
language: c
|
||||||
|
|
||||||
|
compiler:
|
||||||
|
- clang
|
||||||
|
- gcc
|
||||||
|
|
||||||
|
env:
|
||||||
|
- BLD=cmake
|
||||||
|
- BLD=autoconf
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -9,9 +17,5 @@ addons:
|
||||||
- libcutter-dev
|
- libcutter-dev
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- autoreconf -vfi
|
- if [ $BLD == autoconf ]; then autoreconf -vfi && ./configure --prefix=$HOME/.local/ && make -j2 && make install; fi
|
||||||
- ./configure --prefix=$HOME/.local/
|
- if [ $BLD == cmake ]; then cmake -DCMAKE_INSTALL_PREFIX=~/.local . && make -j2 && make install; fi
|
||||||
- make -j2
|
|
||||||
- make install
|
|
||||||
- cmake -DCMAKE_INSTALL_PREFIX=~/.local .
|
|
||||||
- make install -j2
|
|
||||||
|
|
Loading…
Reference in a new issue