File tree 1 file changed +13
-6
lines changed
1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,19 @@ language: rust
2
2
script :
3
3
- cargo build --verbose
4
4
- cargo test --verbose
5
- - cargo doc --verbose
6
- after_success : ! ' [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ]
7
- && echo '' <meta http-equiv=refresh content=0;url=git2/index.html>'' > target/doc/index.html
8
- && sudo pip install ghp-import && ghp-import -n target/doc && git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git
9
- gh-pages '
5
+ - rustdoc --test README.md -L target
6
+ - cargo doc
7
+ after_success : |
8
+ [ $TRAVIS_BRANCH = master ] &&
9
+ [ $TRAVIS_PULL_REQUEST = false ] &&
10
+ echo '<meta http-equiv=refresh content=0;url=git2/index.html>' > target/doc/index.html &&
11
+ sudo pip install ghp-import &&
12
+ ghp-import -n target/doc &&
13
+ git push -f https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages &&
14
+ rm target/doc/index.html &&
15
+ mv target/doc . &&
16
+ (curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh)
10
17
env :
11
18
global :
12
- - LD_LIBRARY_PATH : /usr/local/lib
13
19
- secure : e1hWVY9DVAuvwEJ3r8dGcH51nq+WieVZa5gnBIAde1joE3V0nz+suhQRJbU0oXoNj5JLTKwHqkSltvz5P9WeKOshqdRBtM83KaX5d5oiVuQVEs+JHPIvdOWWq8Kmpv19ypUqJXnb5sFzqgSOJCN/p3erxgfBc/NOkmBavPSXVxI=
20
+ - secure : HLNGKgFhoM0d5o7IRgvnffClGTacrQZjnUd0BSihAW6zKKhELuQ6b1KMoEw+4iz4aZdZ1aVNfciCJYMjLZlqDC7d77lJ6l4UrPQ0wUUriAHvCcE2iOnSNBI6CN75/vzO7lr5jKkFzaDqz9AmOd7JzF8u03K2yye8gX6wAxWRxIw=
You can’t perform that action at this time.
0 commit comments