forked from coreos/fedora-coreos-cincinnati
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (42 loc) · 974 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
---
language: rust
os: linux
services:
- docker
jobs:
allow_failures:
- rust: nightly
include:
- name: "Test with nightly toolchain"
arch: amd64
rust: nightly
script:
- cargo test
- name: "Test with stable toolchain"
arch: amd64
rust: stable
script:
- cargo test
- name: "Test with beta toolchain"
arch: amd64
rust: beta
script:
- cargo test
- name: "Test with minimum supported toolchain"
arch: amd64
rust: 1.44.0
script:
- cargo test --release
- name: "Lints with pinned toolchain"
arch: amd64
rust: 1.44.1
before_script:
- rustup component add clippy
- rustup component add rustfmt
script:
- cargo clippy -- -D warnings
- cargo fmt -- --check -l
- name: "Build container via Dockerfile"
arch: amd64
script:
- docker build -f dist/fedora-infra/Dockerfile .