Skip to content

Commit 401d776

Browse files
committed
Tweak travis config, run tests on nightly
1 parent 74bf645 commit 401d776

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

.travis.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
language: rust
2-
rust:
3-
- stable
4-
- beta
5-
- nightly
62
sudo: false
7-
before_script:
8-
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
3+
4+
matrix:
5+
include:
6+
- rust: 1.18.0
7+
- rust: stable
8+
- rust: beta
9+
- rust: nightly
10+
before_script:
11+
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
12+
script:
13+
- cargo build
14+
- cargo test
15+
- cargo doc --no-deps
16+
after_success:
17+
- travis-cargo --only nightly doc-upload
18+
919
script:
10-
- travis-cargo build
11-
- travis-cargo --only nightly test
12-
- cargo doc --no-deps
13-
after_success:
14-
- travis-cargo --only nightly doc-upload
20+
- cargo test
1521
env:
1622
global:
1723
- TRAVIS_CARGO_NIGHTLY_FEATURE=""

0 commit comments

Comments
 (0)