Skip to content

Commit c0fbc23

Browse files
committed
Tweak travis config
No need to test on 3 osx instances which unfortunately are pretty slow...
1 parent ecabd81 commit c0fbc23

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.travis.yml

+26-26
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
language: rust
2-
rust:
3-
- nightly
4-
- beta
5-
- stable
6-
before_script:
7-
- |
8-
pip install 'travis-cargo<0.2' --user &&
9-
export PATH=`python -m site --user-base`/bin:$PATH
2+
matrix:
3+
include:
4+
- rust: 1.21.0
5+
- rust: stable
6+
- os: osx
7+
- rust: beta
8+
- rust: nightly
9+
script:
10+
- cargo test
11+
- cargo bench
12+
- cargo test --features nightly
13+
- cargo bench --features nightly
14+
- cargo test --features spin_no_std
15+
- cargo bench --features spin_no_std
16+
- cargo clean
17+
- cargo test --features compiletest
18+
19+
- rust: nightly
20+
before_script:
21+
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
22+
script:
23+
- cargo doc --no-deps --all-features
24+
after_success:
25+
- travis-cargo --only nightly doc-upload
1026
script:
11-
- |
12-
travis-cargo build &&
13-
travis-cargo test &&
14-
travis-cargo bench &&
15-
travis-cargo --only nightly build -- --features spin_no_std &&
16-
travis-cargo --only nightly test -- --features spin_no_std &&
17-
travis-cargo --only nightly bench -- --features spin_no_std &&
18-
travis-cargo --only nightly clean &&
19-
travis-cargo --only nightly build -- --features compiletest &&
20-
travis-cargo --only nightly test -- --features compiletest &&
21-
travis-cargo --only nightly clean &&
22-
travis-cargo --only stable doc
23-
after_success:
24-
- travis-cargo --only stable doc-upload
27+
- cargo test
28+
2529
env:
2630
global:
27-
- TRAVIS_CARGO_NIGHTLY_FEATURE=nightly
2831
- secure: YXu24LptjeYirjWYjWGsMT2m3mB7LvQATE6TVo7VEUXv8GYoy2ORIHD83PeImxC93MmZ01QeUezRzuCW51ZcK92VnNSBttlF60SvIX18VsJrV92tsAhievFstqYQ+fB8DIuQ8noU0jPz7GpI+R9dlTRSImAqWOnVIghA+Wzz7Js=
29-
os:
30-
- linux
31-
- osx

0 commit comments

Comments
 (0)