mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2026-02-23 15:50:00 +01:00
Added travis config and doc url
This commit is contained in:
13
.travis.yml
Normal file
13
.travis.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
language: rust
|
||||
after_success: |
|
||||
[ $TRAVIS_BRANCH = master ] &&
|
||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||
cargo doc &&
|
||||
echo '<meta http-equiv=refresh content=0;url=yup-oauth2/index.html>' > target/doc/index.html &&
|
||||
git shortlog -s -n | cut -c 8- > target/doc/humans.txt &&
|
||||
sudo pip install ghp-import &&
|
||||
ghp-import -n target/doc &&
|
||||
git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
||||
env:
|
||||
global:
|
||||
secure: R2TjgAkb9vgibslocKKMQ1fterul/nJJ/Srv8mxbzA/z569ZKFeR8gFlM0bxUkQVeJpGkHKkR6dcNuk6xtafRkm2W5Q04FUqF7/eEzvzMpf0a1kPOld44dZgYbncmk3bend40+fOwDpubozTtuLoimDIIxqdNp39d7w5h0a+s1U=
|
||||
@@ -7,6 +7,7 @@ repository = "https://github.com/Byron/yup/lib/oauth2"
|
||||
description = """A partial oauth2 implementation, providing the 'device' authorization flow.
|
||||
More information about how it's done can be found here: https://developers.google.com/youtube/v3/guides/authentication#devices
|
||||
"""
|
||||
documentation = "http://byron.github.io/yup-oauth2"
|
||||
|
||||
[dependencies]
|
||||
chrono = "*"
|
||||
|
||||
Reference in New Issue
Block a user