mirror of
https://github.com/troglobit/editline.git
synced 2025-05-05 20:11:12 +08:00
Instruct Travis-CI to run autogen.sh before configure
After removal of autoconf & automake generated friends we must run ./autogen.sh before configre. Also, use docker to speed up builds (we don't need root). Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
9865d7fe9f
commit
474b9a6548
15
.travis.yml
15
.travis.yml
@ -1,7 +1,9 @@
|
||||
# Travis CI integration
|
||||
# Defaults to GNU GCC and autotools: ./configure && make && make test
|
||||
language: c
|
||||
compiler:
|
||||
- gcc
|
||||
|
||||
# We don't need to install packages, use dockerized build, quicker
|
||||
sudo: false
|
||||
|
||||
env:
|
||||
global:
|
||||
@ -15,8 +17,13 @@ addons:
|
||||
name: "troglobit/editline"
|
||||
description: "Minix editline"
|
||||
notification_email: troglobit@gmail.com
|
||||
build_command_prepend: "./configure --enable-sigstop --enable-terminal-bell"
|
||||
build_command_prepend: "./autogen.sh && ./configure --enable-sigstop --enable-terminal-bell"
|
||||
build_command: "make -j5"
|
||||
branch_pattern: master
|
||||
|
||||
script: ./configure --enable-sigstop --enable-terminal-bell && make -j5
|
||||
# We don't store generated files (configure and Makefile) in GIT,
|
||||
# so we must customize the default build script to run ./autogen.sh
|
||||
script:
|
||||
- ./autogen.sh
|
||||
- ./configure --enable-sigstop --enable-terminal-bell
|
||||
- make -j5
|
||||
|
Loading…
Reference in New Issue
Block a user