Add GitLab pipeline config

* .gitlab-ci.yml: Add file.
master
Mike Gerwitz 2017-08-23 15:40:07 -04:00 committed by Mike Gerwitz
parent c53faecad0
commit bc1b66a3be
1 changed files with 37 additions and 0 deletions

37
.gitlab-ci.yml 100644
View File

@ -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