[ci] use parallel builds

This commit is contained in:
Simon Bruder 2018-06-10 10:19:05 +00:00
parent 5abaf78946
commit 02106302f3
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -1,29 +1,33 @@
pipeline: pipeline:
inkscape: inkscape:
group: prepare
image: jess/inkscape image: jess/inkscape
commands: commands:
- apt-get update && apt-get -y install make - apt-get update && apt-get -y install make
- ./compile.sh inkscape - ./compile.sh inkscape
latex:
image: tianon/latex
commands:
- apt-get update && apt-get -y install wget
- ./compile.sh latex
libreoffice: libreoffice:
group: prepare
image: jess/libreoffice image: jess/libreoffice
commands: commands:
- apk add --no-cache make - apk add --no-cache make
- ./compile.sh libreoffice - ./compile.sh libreoffice
revealjs: revealjs:
group: prepare
image: node image: node
environment: environment:
- NODE_ENV=production - NODE_ENV=production
commands: commands:
- ./compile.sh revealjs - ./compile.sh revealjs
latex:
group: build
image: tianon/latex
commands:
- apt-get update && apt-get -y install wget
- ./compile.sh latex
publish: publish:
image: sbruder/drone-netlify image: sbruder/drone-netlify
secrets: [ "netlify_key" ] secrets: [ "netlify_key" ]