forked from RustCrypto/AEADs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (41 loc) · 927 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
cache: cargo
rust:
- stable
- nightly
script:
- cargo test --all --release
- cargo test --all --all-features --release
env:
- RUSTFLAGS="-D warnings"
matrix:
allow_failures:
- name: rustfmt
- name: clippy
- rust: nightly
fast_finish: true
include:
- name: "Rust: 1.36.0"
rust: 1.36.0
env: {} # clear `-D warnings` above; allow warnings
- name: "Rust: stable (thumbv7em-none-eabihf)"
rust: stable
install:
- rustup target add thumbv7em-none-eabihf
script:
- cargo build --all --target thumbv7em-none-eabihf --release
- name: rustfmt
rust: stable
install:
- rustup component add rustfmt
script:
- cargo fmt --all -- --check
- name: clippy
rust: stable
install:
- rustup component add clippy
script:
- cargo clippy --all
branches:
only:
- master