Adjusted travis.yml.

This commit is contained in:
Pietro Gagliardi 2016-06-05 13:40:32 -04:00
parent b8d9218b7f
commit 14c8630d1c
1 changed files with 7 additions and 3 deletions

View File

@ -9,6 +9,10 @@ language: c
script:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libgtk-3-dev -y || sudo apt-cache search libgtk3; fi
- make -f GNUmakefile
- make -f GNUmakefile test
- make -f GNUmakefile examples
- mkdir build
- cd build
- cmake .. -G "Unix Makefiles"
- make test examples
- rm -rf *
- cmake .. -G "Unix Makefiles" -DBUILD_SHARED_LIBS=OFF
- make test examples