-
-
Notifications
You must be signed in to change notification settings - Fork 198
/
.travis.yml
40 lines (34 loc) · 868 Bytes
/
.travis.yml
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
34
35
36
37
38
39
40
language: rust
rust:
- stable
- beta
- nightly
# - 1.46.0 // does not work since cargo test is executed automatically
os:
- linux
- windows
- osx
jobs:
fast_finish: true
allow_failures:
- rust: nightly
- os: windows
include:
- if: rust = stable
script:
- rustup component add rustfmt
- cargo fmt --all -- --check
- if: rust = stable OR rust = beta OR rust = nightly
script:
- cargo test --release --all-features
- cargo test --release
- cargo test --release --no-default-features
- if: rust = nightly
script:
- cargo test --release --doc
- cargo doc --all-features --no-deps
- if: rust = "1.46.0"
script:
- cargo build --release
- cargo build --release --no-default-features
- cargo build --release --all-features