2017-03-23 10:55:11 -04:00
|
|
|
image: node:4
|
|
|
|
|
|
|
|
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
|
2017-03-23 12:18:41 -04:00
|
|
|
- ./configure --with-srcuri="$SRCURI"
|
2017-03-23 10:55:11 -04:00
|
|
|
- npm install
|
|
|
|
- make all check info pdf html
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- doc/
|
|
|
|
expire_in: 30 min
|
|
|
|
|
|
|
|
pages:
|
|
|
|
stage: deploy
|
|
|
|
script:
|
|
|
|
- mkdir -p public/doc
|
2017-03-23 12:16:46 -04:00
|
|
|
- mv doc/liza.html/* doc/liza.pdf doc/liza.info public/
|
2017-03-23 10:55:11 -04:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public/
|
|
|
|
expire_in: 30 min
|
|
|
|
only:
|
2017-08-23 14:29:51 -04:00
|
|
|
- tags
|