Update Travis-CI to use ./autogen.sh before configure & build

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2016-03-15 00:13:07 +01:00
parent 726f0d428d
commit 0bbc69200b
+15 -2
View File
@@ -2,7 +2,7 @@
# Defaults to GNU GCC and autotools: ./configure && make && make test
language: c
# We don't need to install packages, use dockerized build, quicker
# 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)
@@ -11,6 +11,9 @@ compiler:
- clang
env:
apt:
packages:
- tree
global:
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
# via the "travis encrypt" command using the project repo's public key
@@ -28,5 +31,15 @@ addons:
# Custom build script for the time being, no "make test" yet
script:
- ./autogen.sh
- ./configure
- make
- ./configure --prefix=
- make clean
- make -j5
- DESTDIR=~/tmp make install-strip
- tree ~/tmp
- ldd ~/tmp/sbin/finit
- size ~/tmp/sbin/finit
- size ~/tmp/sbin/initctl
- size ~/tmp/sbin/reboot
- ~/tmp/sbin/initctl -h