build: Fix gitlab CI configuration

Run «apt install» in non-interactive mode, and do not install
Recommends. Replace build-essential, which is rather fat, with gcc
and make. Execute autogen instead of autoreconf directly.
This commit is contained in:
Guillem Jover 2018-05-31 03:34:07 +02:00
parent 005b509061
commit 4c5e9b478e

View File

@ -2,7 +2,7 @@ image: debian:stretch
before_script:
- apt update -qq
- apt install build-essential autoconf automake libtool
- apt install --no-install-recommends -y gcc make autoconf automake libtool
stages:
- autogen
@ -11,7 +11,7 @@ stages:
autogen:
stage: autogen
script: autoreconf -f -i && ./configure
script: ./autogen && ./configure
build:
stage: build