Skip to content

Instantly share code, notes, and snippets.

@ljvmiranda921
Created February 4, 2018 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ljvmiranda921/3c7a5f5cd15a041b50038fd6e27c4311 to your computer and use it in GitHub Desktop.
Save ljvmiranda921/3c7a5f5cd15a041b50038fd6e27c4311 to your computer and use it in GitHub Desktop.
YAML file for Travis build for LaTeX file continuous integration and automatic deployment
sudo: required
dist: trusty
before_install:
- openssl aes-256-cbc -K $encrypted_65b80f527c7e_key -iv $encrypted_65b80f527c7e_iv -in .dropbox_uploader.enc -out ~/.dropbox_uploader -d
- ./tlsetup.sh
script:
- make latex COMPILER=xelatex
- ./dropbox_uploader.sh upload _build/main.pdf ${TRAVIS_BRANCH}/main-latest.pdf
- ./dropbox_uploader.sh upload _build/main.pdf ${TRAVIS_BRANCH}/main-${TRAVIS_JOB_NUMBER}.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment