forked from RustCrypto/hashes
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
38 lines (33 loc) · 970 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
language: rust
services: docker
sudo: required
matrix:
include:
- rust: 1.21.0
script: cargo test --verbose --all --release
- rust: stable
script: cargo test --verbose --all --release
- rust: nightly
script: cargo test --verbose --all --release
- env: TARGET=i686-unknown-linux-gnu
rust: stable
- env: TARGET=powerpc-unknown-linux-gnu
rust: stable
- env: TARGET=powerpc64-unknown-linux-gnu
rust: stable
# tests if crates truly can be built without std
- env: TARGET=thumbv7em-none-eabi
rust: nightly
script: ./build_nostd.sh
install:
- cargo install xargo || true
- rustup target install armv7-unknown-linux-gnueabihf
- rustup component add rust-src
- env: NAME=features-test
rust: nightly
script: ./test_features.sh
install:
- cargo install cross || true
script:
- cross test --verbose --all --release --target $TARGET
cache: cargo