This repository was archived by the owner on Aug 20, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
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
12
- cargo doc --no-deps
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=tempdir/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
13
+ after_success :
14
+ - travis-cargo --only nightly doc-upload
19
15
env :
20
16
global :
21
- secure : GzgRe6TWVJLBly53nUwyvYnap6vlq3stS5iYnE51n305CxOinA9sKbNev4g/nYegfAvKM12Tmy4hySBVyWaHL43rTMivoBTqHMyVohf5xR9avi/em198GlL0AM005j6w67fiWgmbb0iDC2NcKN358ga8AnIWB6KNd4C4Jm5X+ew=
17
+ secure : " iENCKNKfyveEXk+OofJDnxGfeVnxHovvLsrtl7eUBev6YGIIlUISZliyCvBrSkZKTeLfdDEP+Q5Mv9tVOMAx/FNiKB9V07WFDahD6xvz+qd3k790gdzgy+0LcNKskBVzDK62zCofvknGVbQa9f5iimhu+wKs9bb+WCxicVWmeRo="
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