Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
blob: 9ec11676b0d273b88eb3ce123a37cada57019fec (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
image: $BUILD_IMAGE

stages:
    - build
    - deploy
    - publish

build:
    stage: build
    script:
        - autoreconf -fvi
        - ./configure --with-srcuri="$SRCURI" --enable-code-coverage
        - npm install
        - make all
        - make info pdf html
        - make check
    artifacts:
        paths:
            - doc/
            - coverage/
        expire_in: 30 min

pages:
    stage: deploy
    script:
        - mkdir -p public/doc
        - mv doc/liza.html/* doc/liza.pdf doc/liza.info public/
        - mkdir -p public/coverage
        - mv coverage/* public/coverage
    artifacts:
        paths:
            - public/
        expire_in: 30 min
    only:
        - tags