From 8e834cd0686794ce7f70cb915ddd754e1d1ce726 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Thu, 31 May 2018 03:59:49 +0200 Subject: [PATCH] build: Simplify gitlab CI configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Merge all stages so that we do not need to pass artifacts around. Quiesce «apt install». --- .gitlab-ci.yml | 25 ++++++------------------- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d63c2b5..3d6dbb6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,22 +1,9 @@ image: debian:stretch -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 + before_script: + - apt update -qq + - apt install -qq -y --no-install-recommends git gcc make autoconf automake libtool + script: + - ./autogen && ./configure + - make check