File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 1 file changed +10
-12
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
- - |
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=pkg_config/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 : XlfwiQ+fPgRWqFwHbyPTma2FAVtgN+IXFpkiIdh1sKxWEeHMqABrTtOKf/NugDYCGsOJfr2vb5qFL6teBV2lTXOffUIWj+1hMd0N/FbVKWzABBV02XdxQi8w2ptPez5LPRTEfXJRRHmJpc8ww2aCTIrdT3AQE2oqZM/jHJTi/1U=
17
+ secure : " D/GKEEBQarjXTZ6NWzwQq39nQ892XJ9m3C9219K/6Us8jyjE5DBhosDPvg6pvRJtTLaghDxuhxqkHunayNL18IOvkNbfMjYsnkP8/yMftQUfRdNub6C1kXAi8guXjPd8rUwW0Oy8Nar61WAwWQgHkXfuSJ2em7u/Xk0tICPSwlA="
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