File tree 1 file changed +37
-9
lines changed
1 file changed +37
-9
lines changed Original file line number Diff line number Diff line change @@ -2,29 +2,57 @@ language: rust
2
2
rust : nightly-2019-05-09
3
3
cache : cargo
4
4
5
+ before_script :
6
+ - >
7
+ [[ "$(cargo-sweep --version)" == "cargo-sweep 0.4.1" ]]
8
+ || cargo install cargo-sweep
9
+ - cargo sweep -s
10
+
11
+ before_cache :
12
+ - cargo sweep -f
13
+
5
14
matrix :
6
15
include :
7
16
- name : cargo doc
8
17
env : [CACHE_NAME=docs]
9
18
script :
10
- - RUSTDOCFLAGS=-Dwarnings
11
- cargo doc --all --all-features --no-deps --exclude tide
19
+ - RUSTDOCFLAGS=-Dwarnings cargo doc
20
+ -Zmtime-on-use
21
+ --all --all-features
22
+ --exclude tide
23
+ --no-deps
12
24
13
25
- name : cargo fmt
14
26
cache : false
15
- before_script : rustup component add rustfmt
16
- script : cargo fmt --all -- --check
27
+ before_script : []
28
+ install :
29
+ - rustup component add rustfmt
30
+ script :
31
+ - cargo fmt --all -- --check
17
32
18
33
- name : cargo clippy
19
34
env : [CACHE_NAME=clippy]
20
- before_script : rustup component add clippy
21
- script : cargo clippy --all --all-targets --exclude examples -- -Dwarnings
35
+ install :
36
+ - rustup component add clippy
37
+ script :
38
+ - cargo clippy
39
+ -Zmtime-on-use
40
+ --all --all-targets
41
+ --exclude examples
42
+ -- -Dwarnings
22
43
23
44
- name : cargo build --no-default-features
24
45
env : [CACHE_NAME=no-default-features]
25
46
script :
26
- - cargo build --manifest-path tide/Cargo.toml --no-default-features
27
- - cargo build --manifest-path tide-core/Cargo.toml --no-default-features
47
+ - cargo build
48
+ -Zmtime-on-use
49
+ --manifest-path tide-core/Cargo.toml
50
+ --no-default-features
51
+ - cargo build
52
+ -Zmtime-on-use
53
+ --manifest-path tide/Cargo.toml
54
+ --no-default-features
28
55
29
56
- name : cargo test
30
- script : cargo test --all --verbose
57
+ script :
58
+ - cargo test -Zmtime-on-use --all --verbose
You can’t perform that action at this time.
0 commit comments