add travis
This commit is contained in:
parent
c48403215a
commit
386e3f0e02
1 changed files with 30 additions and 0 deletions
30
.travis.yml
Normal file
30
.travis.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
sudo: true
|
||||
dist: bionic
|
||||
language: python
|
||||
cache: apt
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- wget
|
||||
- tree
|
||||
- latexmk
|
||||
- biber
|
||||
- make
|
||||
|
||||
install:
|
||||
- pip install GitPython
|
||||
|
||||
script:
|
||||
- make build
|
||||
- cd build
|
||||
- tree -H '.' -I "index.html" -D --charset utf-8 -T "LatexPackages" > index.html
|
||||
|
||||
deploy:
|
||||
- provider: pages
|
||||
skip-cleanup: true
|
||||
github-token: $GITHUB_TOKEN
|
||||
local-dir: build/
|
||||
keep-history: false
|
||||
on:
|
||||
branch: master
|
Loading…
Reference in a new issue