Skip to content

Commit 67b2339

Browse files
committed
Tweak travis build
1 parent 9a639ad commit 67b2339

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.travis.yml

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
11
language: rust
2-
rust:
3-
- stable
4-
- beta
5-
- nightly
6-
sudo: false
7-
before_script:
8-
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
2+
matrix:
3+
include:
4+
- rust: stable
5+
- rust: beta
6+
- rust: nightly
7+
- name: "master doc to gh-pages"
8+
rust: nightly
9+
script:
10+
- cargo doc --no-deps
11+
deploy:
12+
provider: script
13+
script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd target/doc && ../../rust_out)
14+
skip_cleanup: true
15+
on:
16+
branch: master
917
script:
1018
- cargo test --verbose
11-
- cargo doc --no-deps
12-
after_success:
13-
- travis-cargo --only nightly doc-upload
14-
env:
15-
global:
16-
secure: "IA467qqr1j0BpyTqG6hO8Kpt+EUDEjO1pBVhu4+L76/dygkQIwROgqdT7uXZqBPMjU6Rbi0wzGXXHJjbCWVTCjh7U/Q0bK2svtR8DKtM0o1Un/YftSUFt2p/WoiJ9PrkUjKh1rHuoyijpUqAls0JfIz8OdC45egT2SWDufljo+s="
17-
1819
notifications:
1920
email:
2021
on_success: never

0 commit comments

Comments
 (0)