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 |
Stewart Smith | 59d3cb4 | 2018-02-12 11:52:12 +1100 | [diff] [blame] | 14 | - libalgorithm-diff-perl |
Stewart Smith | 59d3cb4 | 2018-02-12 11:52:12 +1100 | [diff] [blame] | 15 | - graphviz |
Stewart Smith | 59d3cb4 | 2018-02-12 11:52:12 +1100 | [diff] [blame] | 16 | |
| 17 | language: python |
| 18 | python: |
| 19 | - "2.7" |
| 20 | install: |
| 21 | - "pip install -r doc/requirements.txt" |
| 22 | script: |
Stewart Smith | 9480007 | 2018-04-10 17:56:52 -0500 | [diff] [blame] | 23 | - bash openpower/scripts/update-defconfigs.sh |
Stewart Smith | dd37c9d | 2019-01-22 09:38:37 +1300 | [diff] [blame] | 24 | - cd doc/; make html |
Stewart Smith | 59d3cb4 | 2018-02-12 11:52:12 +1100 | [diff] [blame] | 25 | |
| 26 | deploy: |
| 27 | provider: pages |
| 28 | skip-cleanup: true |
| 29 | github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure |
| 30 | local_dir: "doc/_build/html" |
| 31 | on: |
| 32 | branch: master |