-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d39400b
commit 43ce9c8
Showing
2 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
env: | ||
global: | ||
- secure: PUjDU++nskQf0ZqR4LiqsiPPmi03zSTY85/lzTe30j5P3QvA9vG/mFw3EzeEeo20Y0gXqNRwZwuSgVNFkwU+Mps7nIU6QRwqa/yCxM6z8wCpzUbZv58k3PGpkzetuCIBL0R18a+Q/E2GXvx6gJtC1G+0FJijy3XcaAQonC5ikTQ= | ||
|
||
- secure: PUjDU++nskQf0ZqR4LiqsiPPmi03zSTY85/lzTe30j5P3QvA9vG/mFw3EzeEeo20Y0gXqNRwZwuSgVNFkwU+Mps7nIU6QRwqa/yCxM6z8wCpzUbZv58k3PGpkzetuCIBL0R18a+Q/E2GXvx6gJtC1G+0FJijy3XcaAQonC5ikTQ= | ||
- secure: jHaQxUCPsFgcVfGn1Gw+GX+3GrmJjXOpEfHfoaeHz03r58IIzYD1mFL1/QjCPR8nn2X1GCuUzFaJtYB/1xmgYC6HZP7kFBGkygBEt0Jiem/lru328WNRD3/j9wQi1OL6+cTcNcz0+4oTiwvctqA8p3OcuKCr+VDiQnspq+orLHM= | ||
install: | ||
- curl https://static.rust-lang.org/rustup.sh | sudo sh - | ||
script: | ||
- cargo build --verbose && cargo test --verbose && cargo doc --verbose && mv target/doc doc | ||
|
||
- cargo build --verbose && cargo test --verbose && cargo doc --verbose && mv target/doc | ||
doc | ||
after_script: | ||
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh | ||
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh | ||
after_success: | | ||
[ $TRAVIS_BRANCH = master ] && | ||
[ $TRAVIS_PULL_REQUEST = false ] && | ||
cargo doc && | ||
echo "<meta http-equiv=refresh content=0;url=`echo $TRAVIS_REPO_SLUG | cut -d '/' -f 2`/index.html>" > target/doc/index.html && | ||
sudo pip install ghp-import && | ||
ghp-import -n target/doc && | ||
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages | ||
language: lets us specify rust, which for now defaults to the latest nightly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters