Travis-CI: Verify installation and run unit tests

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