File tree Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Expand file tree Collapse file tree 1 file changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
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 -
6
3
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=
You can’t perform that action at this time.
0 commit comments