forked from RustCrypto/stream-ciphers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
59 lines (51 loc) · 1.48 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
language: rust
cache: cargo
rust:
- stable
- nightly
script:
- cargo test --all --release
- cargo test --all --all-features --release
- cargo test --all --all-features --release -- --ignored
- ./test_aesni.sh
env:
- RUSTFLAGS="-D warnings"
matrix:
allow_failures:
- name: rustfmt
- name: clippy
- rust: nightly
fast_finish: true
include:
- name: "Rust: 1.27.0"
rust: 1.27.0
env: {} # clear `-D warnings` above; allow warnings
script:
- cargo test --all --exclude chacha20 --release
- ./test_aesni.sh
# chacha20 crate with SSE2 backend
- name: "Rust: stable (chacha20)"
rust: stable
env: RUSTFLAGS="-Ctarget-feature=+sse2"
script: cargo test --package chacha20 --release
# no_std build
- name: "Rust: 1.27.0 (thumbv7em-none-eabihf)"
rust: 1.27.0
env: {} # clear `-D warnings` above; allow warnings
install: rustup target add thumbv7em-none-eabihf
script: cargo build --all --target thumbv7em-none-eabihf --release
- 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