File tree Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Expand file tree Collapse file tree 1 file changed +16
-7
lines changed Original file line number Diff line number Diff line change 1
1
language : rust
2
+ rust :
3
+ - 1.0.0
4
+ - beta
5
+ - nightly
6
+ sudo : false
2
7
script :
3
- - cargo build --verbose
4
- - cargo test --verbose
5
- - cargo doc
6
- after_success : ! ' [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ]
7
- && echo '' <meta http-equiv=refresh content=0;url=conduit-static/index.html>'' >
8
- target/doc/index.html && sudo pip install ghp-import && ghp-import -n target/doc
9
- && git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages '
8
+ - cargo build --verbose
9
+ - cargo test --verbose
10
+ - cargo doc
11
+ after_success : |
12
+ [ $TRAVIS_BRANCH = master ] &&
13
+ [ $TRAVIS_PULL_REQUEST = false ] &&
14
+ [ $TRAVIS_RUST_VERSION = nightly ] &&
15
+ echo '<meta http-equiv=refresh content=0;url=conduit-static/index.html>' > target/doc/index.html &&
16
+ pip install ghp-import --user $USER &&
17
+ $HOME/.local/bin/ghp-import -n target/doc &&
18
+ git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
10
19
env :
11
20
global :
12
21
secure : MRnJx1muQA+Unk5f/jSk/lbakwAf15pVKtrqh+HfEQvbEpQD/Y0JnjMXv8bT3Xpb+kGOIdFGfvEYpyX9t+diEhGbZ5S/C+aYuRGR8i8QGDgQq/AbhrKXIUF1h+Aub/6oFJ53ApJjgMY5t/rFc2FrRD0z26irf9VEG/8HDcI5kWc=
You can’t perform that action at this time.
0 commit comments