Skip to content

Commit 6cdba87

Browse files
committed
Update travis config
1 parent 4052c4d commit 6cdba87

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

.travis.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
install:
2-
- wget http://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz -O - | sudo tar zxf - --strip-components 1 -C /usr/local
3-
- yes | sudo add-apt-repository ppa:cmrx64/cargo
4-
- sudo apt-get update
5-
- sudo apt-get install cargo
2+
- curl http://www.rust-lang.org/rustup.sh | sudo sh -
63
script:
7-
- cargo build
8-
- cargo test
9-
os:
10-
- linux
11-
4+
- cargo build --verbose
5+
- cargo test --verbose
6+
- cargo doc
7+
after_success: ! '[ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ]
8+
&& echo ''<meta http-equiv=refresh content=0;url=conduit/index.html>'' > target/doc/index.html
9+
&& sudo pip install ghp-import && ghp-import -n target/doc && git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
10+
gh-pages '
11+
env:
12+
global:
13+
secure: fSBAnqNrnH+Nv7Nx987o5c/07I3aZBAb0uSr6ztulmMZp7neKQTjFcf3GX2EpL3ah5NG/0rrZ2D47LppIOh5Hk0jj+l3DI4jnXEem5+srQYtE1NyS8pnulPTrqNAOJpkBgyaJoZeB5VBjiuDHtVHsw97RdZng807JtSqRMBK9f8=

0 commit comments

Comments
 (0)