-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
46 lines (38 loc) · 939 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
38
39
40
41
42
43
44
45
46
language: rust
matrix:
include:
- name: "stable"
rust: stable
before_script: rustup component add clippy-preview
script:
- cargo test
- cargo clippy
env: RUSTFLAGS="-D warnings"
- name: "beta test"
rust: beta
script: cargo test
- name: "beta build"
rust: beta
script: cargo build
env: RUSTFLAGS="-D warnings"
- name: "beta clippy"
rust: beta
before_script: rustup component add clippy-preview
script: cargo clippy
env: RUSTFLAGS="-D warnings"
- name: "nightly test"
rust: nightly
script: cargo test
- name: "nightly build"
rust: nightly
script: cargo build
env: RUSTFLAGS="-D warnings"
- name: "nightly clippy"
rust: nightly
before_script: rustup component add clippy-preview
script: cargo clippy
env: RUSTFLAGS="-D warnings"
allow_failures:
- rust: nightly
- name: "beta build"
- name: "beta clippy"