-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (26 loc) · 767 Bytes
/
.travis.yml
File metadata and controls
33 lines (26 loc) · 767 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: rust
cache: cargo
rust:
- stable
- nightly
matrix:
allow_failures:
- rust: nightly
fast_finish: true
git:
depth: 10
before_script:
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then chmod +x benches-compare.sh; fi
script:
- cargo build --verbose --all
- cargo build --verbose --all --features "dot"
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
cargo +nightly build --features "no_std dot" --verbose --all;
fi
- cargo test --verbose --all
- cargo test --verbose --all --features "dot"
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
cargo +nightly test --features "no_std dot" --verbose --all;
fi
after_script:
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then chmod +x benches-compare.sh; fi