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