From a19f8580f51aca0d1e608342b7a89f94c35dda02 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Mon, 15 Apr 2019 09:33:54 +1000 Subject: [PATCH] travis: state transition tests --- .travis.yml | 1 + eth2/state_processing/tests/tests.rs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e725aa0ba..6233ea68b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,7 @@ script: - cargo build --verbose --release --all - cargo test --verbose --all - cargo test --verbose --release --all + - cargo test --manifest-path eth2/state_processing/Cargo.toml --verbose --release --features fake_crypto - cargo fmt --all -- --check # No clippy until later... #- cargo clippy diff --git a/eth2/state_processing/tests/tests.rs b/eth2/state_processing/tests/tests.rs index d305b2d3c..cdad99062 100644 --- a/eth2/state_processing/tests/tests.rs +++ b/eth2/state_processing/tests/tests.rs @@ -144,8 +144,9 @@ fn run_state_transition_tests_small() { run_state_transition_test("sanity-check_small-config_32-vals.yaml"); } +// Run with --ignored to run this test #[test] -#[cfg(not(debug_assertions))] +#[ignored] fn run_state_transition_tests_large() { run_state_transition_test("sanity-check_default-config_100-vals.yaml"); }