-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.travis.yml
More file actions
33 lines (28 loc) · 814 Bytes
/
.travis.yml
File metadata and controls
33 lines (28 loc) · 814 Bytes
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
language: rust
rust:
- 1.53.0
- stable
- beta
- nightly
arch:
- amd64
jobs:
allow_failures:
- rust: nightly
os: linux
dist: bionic
cache: cargo
before_script: |
if [ "x$TRAVIS_RUST_VERSION" == xstable -a "x$TRAVIS_CPU_ARCH" == xamd64 ]; then
cargo install cargo-tarpaulin
fi
script:
- cargo clean
- cargo build
- PROPTEST_FORK=true cargo test --release
- PROPTEST_FORK=true cargo test --release --no-default-features --features='check_contracts_in_tests'
- PROPTEST_FORK=true cargo test --release --no-default-features --features='c_fast_path'
after_success: |
if [ "x$TRAVIS_RUST_VERSION" == xstable -a "x$TRAVIS_CPU_ARCH" == xamd64 ]; then
PROPTEST_FORK=true cargo tarpaulin --release --features='test_only_small_constants' --ciserver travis-ci --coveralls $TRAVIS_JOB_ID
fi