Stewart Smith | 59d3cb4 | 2018-02-12 11:52:12 +1100 | [diff] [blame] | 1 | sudo: false |
| 2 | dist: trusty |
| 3 | |
| 4 | cache: |
| 5 | apt: true |
| 6 | |
| 7 | git: |
| 8 | depth: false |
| 9 | |
| 10 | addons: |
| 11 | apt: |
| 12 | packages: |
| 13 | - python-pip |
| 14 | - latexmk |
| 15 | - libalgorithm-diff-perl |
| 16 | - texlive |
| 17 | - texlive-latex-extra |
| 18 | - texlive-humanities |
| 19 | - texlive-generic-recommended |
| 20 | - graphviz |
| 21 | - texlive-generic-extra |
| 22 | |
| 23 | |
| 24 | language: python |
| 25 | python: |
| 26 | - "2.7" |
| 27 | install: |
| 28 | - "pip install -r doc/requirements.txt" |
| 29 | script: |
Stewart Smith | 9480007 | 2018-04-10 17:56:52 -0500 | [diff] [blame] | 30 | - bash openpower/scripts/update-defconfigs.sh |
Stewart Smith | 59d3cb4 | 2018-02-12 11:52:12 +1100 | [diff] [blame] | 31 | - cd doc/; make latexpdf html |
| 32 | |
| 33 | deploy: |
| 34 | provider: pages |
| 35 | skip-cleanup: true |
| 36 | github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure |
| 37 | local_dir: "doc/_build/html" |
| 38 | on: |
| 39 | branch: master |