forked from dalek-cryptography/subtle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (32 loc) · 867 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
language: rust
cache: cargo
rust:
- stable
- beta
- nightly
matrix:
include:
# Test nightly feature
- rust: nightly
env: NAME="nightly feature"
script: cargo test --features nightly
# Test MSRV
- rust: 1.41.0
env: NAME="MSRV test"
script: cargo test --no-default-features --features std
# Test if crate can be truly built without std
- env: TARGET=thumbv7em-none-eabi
script: cargo build --no-default-features --target $TARGET
install:
- rustup target add $TARGET
script:
- cargo test && cargo test --no-default-features &&
cargo test --no-default-features --features std &&
cargo test --no-default-features --features "std i128"
notifications:
slack:
rooms:
- dalek-cryptography:Xxv9WotKYWdSoKlgKNqXiHoD#dalek-bots
cache:
directories:
- /home/travis/.cargo