forked from emabee/flexi_logger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (31 loc) · 792 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
language: rust
rust:
- stable
- beta
- nightly
# - 1.37.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 doc --all-features --no-deps
- cargo test --release
- cargo test --release --no-default-features
- if: rust = "1.37.0"
script:
- cargo build --release
- cargo build --release --no-default-features
- cargo build --release --all-features