diff --git a/.travis.yml b/.travis.yml index deb7a8d51..b9de5c055 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,6 @@ script: - cargo test --release -p ethash --verbose - cargo test --release -p ethcore-util --verbose - cargo test --release -p ethcore --verbose -- cargo test --release -p ethcore-rpc --verbose - cargo test --release --verbose - cargo bench --no-run after_success: | diff --git a/util/src/uint.rs b/util/src/uint.rs index de05ca4a8..7eee6029e 100644 --- a/util/src/uint.rs +++ b/util/src/uint.rs @@ -1217,6 +1217,8 @@ mod tests { #[test] #[should_panic] + // overflows panic only in debug builds. Running this test with `--release` flag, always fails + #[ignore] pub fn uint128_add_overflow_panic() { U128::from_str("ffffffffffffffffffffffffffffffff").unwrap() +