-
-
Notifications
You must be signed in to change notification settings - Fork 139
/
.travis.yml
37 lines (34 loc) · 918 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
language: rust
env:
- TASK=test RUSTFLAGS="-D warnings" CXX=clang++
matrix:
include:
- rust: nightly
- rust: stable
name: clippy-lint
before_script:
- rustup component add clippy
script:
- cargo clippy --all-features -- -D warnings
- rust: stable
name: fmt-check
before_script:
- rustup component add rustfmt
script:
- cargo fmt -- --check
- rust: beta
- rust: stable
- rust: 1.45.0
script:
- cargo build
- rust: nightly
name: minimal-versions
script:
- cargo -Z minimal-versions build --verbose
- rust: nightly
os: windows
script:
- cargo $TASK --verbose
- cargo $TASK --no-default-features --features no_logging --verbose
- cargo $TASK --no-default-features --features dir_source --verbose
- cargo $TASK --no-default-features --features script_helper --verbose