Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 756 Bytes
language: python
sudo: required
dist: trusty
branch:
except:
- pdf
install:
# python
- pip install pygments ghp-import
# TeXLive
- curl -sSL https://raw.githubusercontent.com/ustctug/mini-texlive/master/install-tl.sh -o install-tl.sh
- sed -i 's!http://mirrors.ustc.edu.cn/CTAN!http://ctan.sharelatex.com/tex-archive!' install-tl.sh
- sudo bash install-tl.sh
- source ~/.bash_profile
- export TLMGR=`which tlmgr`
- sudo $TLMGR update --self --all -repository http://ctan.sharelatex.com/tex-archive/systems/texlive/tlnet/
- sudo $TLMGR install tracklang siunitx symbol
script:
make
deploy:
skip_cleanup: true
provider: script
script: ./.travis-deploy.sh
on:
branch: master