mirror of
https://github.com/troglobit/libite.git
synced 2026-10-07 15:54:20 +07:00
Travis-CI: Verify installation and run unit tests
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+8
-7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user