Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2017-08-23 15:40:07 -0400
committerMike Gerwitz <mike.gerwitz@rtspecialty.com>2018-09-12 12:07:25 -0400
commitbc1b66a3beb48a177715f7948ec91082d1beaf44 (patch)
tree16ba80274a885a6247c4a5ad7c6b4b61d3ca5995 /.gitlab-ci.yml
parentc53faecad02f94b08f3ba83cc75ebf8efb0d9f3c (diff)
downloadtame-bc1b66a3beb48a177715f7948ec91082d1beaf44.tar.gz
tame-bc1b66a3beb48a177715f7948ec91082d1beaf44.tar.bz2
tame-bc1b66a3beb48a177715f7948ec91082d1beaf44.zip
Add GitLab pipeline config
* .gitlab-ci.yml: Add file.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..a949957
--- /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