Move docs to GitHub pages.

Ref https://github.com/kmcallister/travis-doc-upload/blob/master/README.md
This commit is contained in:
kennytm 2015-07-05 03:29:28 +08:00
parent fd0acd12ee
commit 279960886e
3 changed files with 11 additions and 7 deletions

View file

@ -1,10 +1,11 @@
env:
global:
- secure: XR0z4IBBGJP6jB0CalptPbGOhAd4HvZb5l35/SPec5sAF+9Z4tQHa7nkg9TkJd6Yf6AVyfDKCA/knVrTzrf883UfWUXMLtr1/Y5kSqEJ+bSGapRAjECHS0+Ts56N6Rqrs8mhXDtl21PtUQnvQDTedm/85VXbHqnX9kgCqVQMtCs=
language: rust
sudo: false
matrix:
include:
- rust: stable
- rust: beta
- rust: nightly
after_script:
after_success:
- cargo doc
- mv target/doc doc
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
- curl https://raw.githubusercontent.com/kmcallister/travis-doc-upload/master/travis-doc-upload.sh | sh

BIN
scripts/id_rsa.enc Normal file

Binary file not shown.

View file

@ -0,0 +1,3 @@
PROJECT_NAME=qrcode-rust
DOCS_REPO=kennytm/qrcode-rust.git
SSH_KEY_TRAVIS_ID=cbc3a9ac2cf3