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 image: debian:stretch
test:
before_script: before_script:
- apt update -qq - apt update -qq
- apt install --no-install-recommends -y git gcc make autoconf automake libtool - apt install -qq -y --no-install-recommends git gcc make autoconf automake libtool
script:
stages: - ./autogen && ./configure
- autogen - make check
- build
- test
autogen:
stage: autogen
script: ./autogen && ./configure
build:
stage: build
script: make
test:
stage: test
script: make check