1
0
Fork 0
liza/.gitlab-ci.yml

36 lines
679 B
YAML

image: node:4-stretch
stages:
- build
- deploy
before_script:
- apt-get update
- apt-get -y install --no-install-recommends texinfo texlive-latex-base
build:
stage: build
script:
- autoreconf -fvi
- ./configure --with-srcuri="$SRCURI"
- npm install
- make all
- make info pdf html
- make check
artifacts:
paths:
- doc/
expire_in: 30 min
pages:
stage: deploy
script:
- mkdir -p public/doc
- mv doc/liza.html/* doc/liza.pdf doc/liza.info public/
artifacts:
paths:
- public/
expire_in: 30 min
only:
- tags