Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
blob: a94995714e0cd660ddcac2bd456256b899c29cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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