Increase the Travis timeout.

This commit is contained in:
Andreas Fackler 2019-07-23 16:19:15 +02:00 committed by Andreas Fackler
parent 0e51bb3615
commit 4b2cff8db7
4 changed files with 7 additions and 4 deletions

View File

@ -3,7 +3,7 @@ rust:
- 1.36.0
cache:
cargo: true
timeout: 1200
timeout: 2400
addons:
apt:
packages:
@ -21,4 +21,4 @@ before_install:
# # causing a CI slowdown, so this option is commented out by default. It can
# # be enabled per-branch to debug issues.
# - sudo tail -n 250 /var/log/syslog
script: ./ci.sh
script: travis_wait 40 ./ci.sh

View File

@ -41,7 +41,7 @@ colored = "1.7"
crossbeam = "0.7.1"
crossbeam-channel = "0.3"
docopt = "1.0"
hbbft_testing = { path = "hbbft_testing" }
hbbft_testing = { path = "hbbft_testing", features = ["use-insecure-test-only-mock-crypto"] }
itertools = "0.8.0"
signifix = "0.10.0"
proptest = "0.9.2"

2
ci.sh
View File

@ -23,7 +23,7 @@ cargo audit --ignore RUSTSEC-2019-0011
cd hbbft_testing
cargo clippy --all-targets -- --deny clippy::all
cargo fmt -- --check
cargo test --release
cargo test --features=use-insecure-test-only-mock-crypto --release
# TODO: Remove exception once https://github.com/poanetwork/hbbft/issues/415 is fixed.
cargo audit --ignore RUSTSEC-2019-0011
cd ..

View File

@ -29,3 +29,6 @@ proptest = "0.9.2"
rand = "0.6.5"
rand_xorshift = "0.1.1"
threshold_crypto = "0.3.1"
[features]
use-insecure-test-only-mock-crypto = ["hbbft/use-insecure-test-only-mock-crypto"]