File tree Expand file tree Collapse file tree 3 files changed +29
-23
lines changed Expand file tree Collapse file tree 3 files changed +29
-23
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
services :
3
- - redis-server
3
+ - redis
4
4
language : rust
5
5
cache : cargo
6
6
@@ -12,20 +12,26 @@ matrix:
12
12
include :
13
13
- rust : stable
14
14
env : FMT=1
15
+ before_install :
16
+ - cargo install just
15
17
before_script :
16
18
- rustup component add rustfmt
17
19
script :
18
- - cargo fmt --all -- --check
20
+ - just format
19
21
- rust : stable
20
22
env : CLIPPY=1
23
+ before_install :
24
+ - cargo install just
21
25
before_script :
22
26
- rustup component add clippy
23
27
script :
24
- - cargo clippy -- -D warnings
28
+ - just lint
25
29
- rust : stable
26
30
env : TEST=1
31
+ before_install :
32
+ - cargo install just
27
33
script :
28
- - cargo test
34
+ - just test
29
35
- rust : nightly
30
36
env : BENCH=1
31
37
script :
Original file line number Diff line number Diff line change
1
+ all : build test
2
+
3
+ @ build :
4
+ cargo build
5
+
6
+ @ test :
7
+ cargo test --all -- --quiet
8
+
9
+ @ bench :
10
+ cargo bench
11
+
12
+ @ docs : build
13
+ cargo doc --no-deps
14
+
15
+ @ format :
16
+ cargo fmt --all -- --check
17
+
18
+ @ lint :
19
+ cargo clippy -- -D warnings
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments