Skip to content

Commit

Permalink
Test Travis builds
Browse files Browse the repository at this point in the history
  • Loading branch information
doegox committed Mar 3, 2017
1 parent b65674a commit 86ce8df
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
language: cpp
language: c

compiler:
- clang
- gcc

env:
- BLD=cmake
- BLD=autoconf

addons:
apt:
Expand All @@ -9,9 +17,5 @@ addons:
- libcutter-dev

script:
- autoreconf -vfi
- ./configure --prefix=$HOME/.local/
- make -j2
- make install
- cmake -DCMAKE_INSTALL_PREFIX=~/.local .
- make install -j2
- 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

0 comments on commit 86ce8df

Please sign in to comment.