forked from lucab/caps-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
54 lines (53 loc) · 1.2 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
---
language: rust
os: linux
dist: bionic
jobs:
fast_finish: true
allow_failures:
- rust: nightly
include:
- name: "Test with nightly toolchain"
arch: amd64
rust: nightly
script:
- cargo test
- name: "Test with beta toolchain"
arch: amd64
rust: beta
script:
- cargo test
- name: "Test with stable toolchain on amd64"
arch: amd64
rust: stable
script:
- cargo test
- name: "Test with stable toolchain on aarch64"
arch: arm64
rust: stable
script:
- cargo test
- name: "Test with stable toolchain on ppc64le"
arch: ppc64le
rust: stable
script:
- cargo test
- name: "Test with stable toolchain on s390x"
arch: s390x
rust: stable
script:
- cargo test
- name: "Test with minimum supported toolchain"
arch: amd64
rust: 1.36.0
script:
- cargo test --release
- name: "Lints with pinned toolchain"
arch: amd64
rust: 1.44.0
before_script:
- rustup component add clippy
- rustup component add rustfmt
script:
- cargo clippy -- -D warnings
- cargo fmt -- --check -l