forked from gmt-china/GMT_docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (24 loc) · 720 Bytes
/
.travis.yml
File metadata and controls
27 lines (24 loc) · 720 Bytes
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
language: python
sudo: required
dist: trusty
python: 3.6
install:
# python
- pip install -r requirements.txt
- curl -sSL https://raw.githubusercontent.com/seisman/install/master/install-texlive.sh -o install-tl.sh
- sudo bash install-tl.sh
- curl -sSL https://raw.githubusercontent.com/seisman/install/master/install-SourceCodePro.sh | sudo bash
- source ~/.bash_profile
- export TLMGR=`which tlmgr`
# update texlive
#- sudo $TLMGR update --self --all -repository http://ctan.sharelatex.com/tex-archive/systems/texlive/tlnet/
script:
# build html and PDF
- make build
deploy:
provider: pages
skip_cleanup: true
github_token: ${GH_TOKEN}
local_dir: build/dirhtml
on:
branch: master