From 876e1451c4845faa05db302a0827de66f87c70fe Mon Sep 17 00:00:00 2001 From: petr-tik Date: Wed, 12 Jun 2019 01:30:09 +0100 Subject: [PATCH] Resume uploading docs to gh-pages (#565) * Fixes #546 Generate docs and upload them. Need GH_TOKEN env var to be set in travis settings * Investigate what TRAVIS* env vars are set --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8f3a272ba..88d716fa0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,6 +52,7 @@ before_install: install: - sh ci/install.sh - source ~/.cargo/env || true + - env | grep "TRAVIS" before_script: - export PATH=$HOME/.cargo/bin:$PATH @@ -60,10 +61,15 @@ before_script: script: - bash ci/script.sh + - cargo doc before_deploy: - sh ci/before_deploy.sh +after_success: + - cargo doc-upload # Needs GH_TOKEN env var to be set in travis settings + + cache: cargo before_cache: # Travis can't cache files that are not readable by "others"