2019-05-08 17:10:47 -04:00
|
|
|
image: node:4-stretch
|
2017-03-23 10:55:11 -04:00
|
|
|
|
|
|
|
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
|
2019-05-09 08:57:48 -04:00
|
|
|
- make all
|
|
|
|
- make info pdf html
|
|
|
|
- make check
|
2017-03-23 10:55:11 -04:00
|
|
|
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
|