language: python python: - "3.6" sudo: required dist: trusty branches: only: - master - dev install: - pip install -r requirements.txt # Install TeXLive - curl -sSL https://gist.githubusercontent.com/seisman/ad00252a9f03fc644146a11e6983d9c5/raw/install-tl.sh -o install-tl.sh - sudo bash install-tl.sh - 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: - make html - make latexpdf after_success: - cp build/latex/Makefile.pdf build/html/ deploy: provider: pages skip_cleanup: true github_token: ${GH_TOKEN} local_dir: build/html on: branch: master