diff --git a/.travis.yml b/.travis.yml index 5a6bdd2..8860300 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,19 @@ language: ruby cache: + apt: true bundler: true # Cache nanoc directories directories: - output - tmp +addons: + apt: + packages: + - pandoc + - texlive-full + branches: only: - master @@ -21,10 +28,6 @@ before_install: -in id_rsa.enc -out deploy_key -d - echo -e "Host zeus.ugent.be\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config - npm install -- sudo apt-get update -qq -- sudo apt-get install -y pandoc -- sudo apt-get install -y texlive-full -- sudo apt-get install -y texlive-xetex script: - bundle exec nanoc --env=prod - bundle exec nanoc --env=prod check --deploy