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
This commit is contained in:
petr-tik
2019-06-12 01:30:09 +01:00
committed by Paul Masurel
parent a37d2f9777
commit 876e1451c4

View File

@@ -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"