mirror of
https://github.com/troglobit/finit.git
synced 2026-11-02 13:20:32 +00:00
Update Travis-CI to use ./autogen.sh before configure & build
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
726f0d428d
commit
0bbc69200b
1 file changed
+15
-2
+15
-2
@@ -2,7 +2,7 @@
|
|||||||
# Defaults to GNU GCC and autotools: ./configure && make && make test
|
# Defaults to GNU GCC and autotools: ./configure && make && make test
|
||||||
language: c
|
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
|
sudo: false
|
||||||
|
|
||||||
# Test build with both GCC and Clang (LLVM)
|
# Test build with both GCC and Clang (LLVM)
|
||||||
@@ -11,6 +11,9 @@ compiler:
|
|||||||
- clang
|
- clang
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- tree
|
||||||
global:
|
global:
|
||||||
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
# The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
|
||||||
# via the "travis encrypt" command using the project repo's public key
|
# 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
|
# Custom build script for the time being, no "make test" yet
|
||||||
script:
|
script:
|
||||||
|
- ./autogen.sh
|
||||||
- ./configure
|
- ./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
|
||||||
Reference in new issue
Block a user