From bc1b66a3beb48a177715f7948ec91082d1beaf44 Mon Sep 17 00:00:00 2001 From: Mike Gerwitz Date: Wed, 23 Aug 2017 15:40:07 -0400 Subject: [PATCH] Add GitLab pipeline config * .gitlab-ci.yml: Add file. --- .gitlab-ci.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 00000000..a9499571 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,37 @@ +image: lovullo/rater-ci + +stages: + - build + - deploy + +before_script: + - apt-get update + - apt-get -y install --no-install-recommends texinfo texlive-latex-base + - apt-get -y install nodejs + - git submodule update --init --recursive + - git clone https://gitlab.com/mikegerwitz/hoxsl + +build: + stage: build + script: + - export SAXON_CP=/usr/share/ant/lib/saxon9/saxon9he.jar + - autoreconf -fvi + - ./configure + - ( cd progtest && npm install && ./autogen.sh && ./configure ) + - make all check info pdf html + artifacts: + paths: + - doc/ + expire_in: 30 min + +pages: + stage: deploy + script: + - mkdir -p public/doc + - mv doc/tame.html/* doc/tame.pdf doc/tame.info public/ + artifacts: + paths: + - public/ + expire_in: 30 min + only: + - tags