build: Simplify gitlab CI configuration

Merge all stages so that we do not need to pass artifacts around.
Quiesce «apt install».
This commit is contained in:
Guillem Jover 2018-05-31 03:59:49 +02:00
parent e354f9b1d0
commit 8e834cd068

View File

@ -1,22 +1,9 @@
image: debian:stretch
test:
before_script:
- apt update -qq
- apt install --no-install-recommends -y git gcc make autoconf automake libtool
stages:
- autogen
- build
- test
autogen:
stage: autogen
script: ./autogen && ./configure
build:
stage: build
script: make
test:
stage: test
script: make check
- apt install -qq -y --no-install-recommends git gcc make autoconf automake libtool
script:
- ./autogen && ./configure
- make check