forked from little-dude/netlink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
90 lines (80 loc) · 2.6 KB
/
.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
language: rust
matrix:
fast_finish: true
allow_failure:
- rust: nightly
include:
# =====================================================================
# Stable
# =====================================================================
- rust: stable
name: netlink-sys
script:
- cd netlink-sys
- cargo test
- cargo test --features mio_support
- cargo test --features tokio_support
- rust: stable
name: netlink-packet
script:
- cd netlink-packet
- cargo test --features audit
- cargo test --features rtnetlink
- rust: stable
name: netlink-proto
script:
- cd netlink-proto
- cargo test --features audit
- cargo test --features rtnetlink
- rust: stable
name: rtnetlink
script:
- cd rtnetlink
- cargo test
- rust: stable
name: audit
script:
- cd audit
- cargo test
# =====================================================================
# Nightly
# =====================================================================
- rust: nightly
name: nightly netlink-sys
before_script:
- rustup component add clippy-preview
script:
- cargo test -Z package-features --package netlink-sys
- cargo test -Z package-features --package netlink-sys --features mio_support
- cargo test -Z package-features --package netlink-sys --features tokio_support
- cargo clippy
- rust: nightly
name: nightly netlink-packet
before_script:
- rustup component add clippy-preview
script:
- cargo test -Z package-features --package netlink-packet --features audit
- cargo test -Z package-features --package netlink-packet --features rtnetlink
- cargo clippy
- rust: nightly
name: nightly netlink-proto
before_script:
- rustup component add clippy-preview
script:
- cargo test -Z package-features --package netlink-proto --features audit
- cargo test -Z package-features --package netlink-proto --features rtnetlink
- cargo clippy
- rust: nightly
name: nightly netlink-proto
before_script:
- rustup component add clippy-preview
script:
- cargo test -Z package-features --package rtnetlink
- cargo test -Z package-features --package audit
- cargo clippy
- rust: nightly
name: rustfmt
before_script:
- rustup component add rustfmt-preview
script:
- cargo fmt --all -- --check