Travis-CI: Verify installation and run unit tests

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-06-06 12:42:33 +02:00
parent c3c23b9aef
commit fe39284d50
+8 -7
View File
@@ -1,10 +1,8 @@
# Travis CI integration -- https://travis-ci.org/troglobit/libuev
# Travis CI integration -- https://travis-ci.org/troglobit/libite
# Defaults to GNU GCC and autotools: ./configure && make && make test
language: c
# Some of the autotests may use sudo, so use non-dockerized build atm.
# http://stackoverflow.com/questions/26299552/travis-sudo-is-disabled
#sudo: true
# Use docker for quicker builds, it now allows https://docs.travis-ci.com/user/apt/
sudo: false
# Test build with both GCC and Clang (LLVM)
@@ -12,8 +10,11 @@ compiler:
- gcc
- clang
# - make test
script:
- ./autogen.sh
- ./configure --disable-silent-rules
- make -j5 clean all
- ./configure --prefix=/tmp --disable-silent-rules
- make clean
- make -j5
- make install-strip
- ls -lR /tmp
- make check