File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 4
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
11
- 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-middleware/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
12
+ - cargo doc --no-deps
13
+ after_success :
14
+ - travis-cargo --only nightly doc-upload
19
15
env :
20
16
global :
21
- secure : J4nYe5Gnwr/TnGjNH4lWN08sKlDiQ3OpiblkjRrVv73n0EEk6zEgeAkpY+moPi95eVDe7sfp7wP+CLAlzdDfPhMUGMjcP7xFnq1z4b+cJT1lXFtwf8EFmDIV9hhdutsK/zhTxFD39/wUmLmHtntMzaY0BFBtPjuoFz7ew6ErAVA=
17
+ secure : " axEJ69CcktYxZoP0z4KWbI2NknrSMaWnzWadwGa5tee06Ac9xu4ogMF5+SeEmwtXEcl7TIsjeyh7pXG7urfMGVAYrUXrZSxZk7yvnO5ct25/bJaZZYKHZ++VSo/lS0oWcpOx9NPuH3l36m6HgKsfBaVawKVtGc1+Mmw3KzqS4Pk="
18
+
19
+
20
+
22
21
notifications :
23
22
email :
24
23
on_success : never
You can’t perform that action at this time.
0 commit comments