.gitlab-ci.yml: split stages and add git

This commit is contained in:
Ted Zlatanov 2018-12-31 08:06:15 -05:00
parent 792dc36e69
commit 4a2ef754f1
No known key found for this signature in database
GPG key ID: 11F23D0A4E4B9DEE

View file

@ -28,14 +28,32 @@ image: debian:stretch
before_script:
- apt update -qq
- DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libc-dev gcc make autoconf automake libncurses-dev gnutls-dev
- DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libc-dev gcc make autoconf automake libncurses-dev gnutls-dev git
stages:
- compile
- test
test:
stage: test
compile:
stage: compile
script:
- ./autogen.sh autoconf
- ./configure --without-makeinfo
- make bootstrap
artifacts:
when: always
name: "compile-$CI_COMMIT_REF_NAME-$CI_JOB_STAGE-$CI_JOB_NAME"
paths:
- doc/
- lib-src/
- lib/
- lisp/
- src/
- test/
test:
stage: test
dependencies:
- compile
script:
- make check