forked from qmlbook/qmlbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (31 loc) · 997 Bytes
/
.travis.yml
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
language: python
python:
- '3.6'
sudo: required
before_install:
- sudo apt-get update
- sudo apt-get install -y --no-install-recommends texlive-base
- sudo apt-get install -y --no-install-recommends texlive-latex-base
- sudo apt-get install -y texlive-latex-recommended
- sudo apt-get install -y texlive-latex-extra
- sudo apt-get install -y texlive-fonts-recommended
- sudo apt-get install -y --no-install-recommends latexmk
- sudo apt-get install -y --no-install-recommends graphviz
script:
- export CORRECT_TRAVIS_BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}
- . ./travis-setup.sh
- paver build_all
- touch _build/html/.nojekyll
- ./travis-move.sh
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: true
repo: $DEPLOY_SLUG
target-branch: $DEPLOY_BRANCH
local-dir: _build/html
verbose: true
on:
condition: $IS_DEPLOYABLE = Y
all_branches: true