forked from paritytech/parity-common
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (39 loc) · 1.29 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
language: rust
branches:
only:
- master
matrix:
include:
- os: linux
# without this line
# travis downgrades the image to trusty somehow
# which doesn't have C11 support
# see https://travis-ci.org/paritytech/parity-common/jobs/557850274
dist: xenial
rust: stable
- os: linux
dist: xenial
rust: beta
- os: linux
dist: xenial
rust: nightly
- os: osx
osx_image: xcode11
rust: stable
allow_failures:
- rust: nightly
script:
- cargo check --all --tests
- cargo build --all
- cargo test --all --exclude uint --exclude fixed-hash
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then
cd parity-bytes/ && cargo build --no-default-features && cd ..;
cd fixed-hash/ && cargo test --no-default-features --features="rustc-hex,byteorder" && cd ..;
cd keccak-hash/ && cargo test --no-default-features && cd ..;
fi
- cd fixed-hash/ && cargo test --all-features && cd ..
- cd uint/ && cargo test --features=std,quickcheck --release && cd ..
- cd plain_hasher/ && cargo test --no-default-features && cd ..
- cd parity-util-mem/ && cargo test --features=estimate-heapsize && cd ..
- cd parity-util-mem/ && cargo test --features=jemalloc-global && cd ..
- cd parity-util-mem/ && cargo test --features=mimalloc-global && cd ..