ci: Add GitLab CI description filee04d2e81fce00ba2f8d38b059605b36e9d08a7ba
commite04d2e81fce00ba2f8d38b059605b36e9d08a7ba
authorEmmanuele Bassi <ebassi@gnome.org>
Sun, 18 Feb 2018 14:59:29 +0000 (18 14:59 +0000)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 20 Feb 2018 13:49:21 +0000 (20 13:49 +0000)
tree43651174793932406af3a97d0f6432dd94d269f3
parent8bfedb57cc8f1f08de09071af66b9be03f051eae
ci: Add GitLab CI description file

We're mostly interested into building and testing everything that gets
pushed to the repository — including merge requests.

When pushing tags, though, we should assume we're spinning a release, so
let's run the dist target, and store the tarball, and the generated
documentation while we're at it, as artifacts on GitLab.

The Dockerfile for the image used for the build is included in tree, and
published on Docker Hub. Using a custom image allows us to avoid the
costly "download and install build dependencies" phase, as well as
controlling the environment a little bit better.

https://bugzilla.gnome.org/show_bug.cgi?id=793635
.gitlab-ci.yml [new file with mode: 0644]
.gitlab-ci/Dockerfile [new file with mode: 0644]
.gitlab-ci/run-docker.sh [new file with mode: 0755]