Skip to content

Commit 0babb03

Browse files
author
Stjepan Glavina
committed
Run tests under valgrind
1 parent 6c30a4f commit 0babb03

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,16 @@ os: linux
44

55
rust: nightly
66

7+
addons:
8+
apt:
9+
packages:
10+
- valgrind
11+
712
before_script:
813
- rustup component add rustfmt
914

1015
script:
11-
- cargo check --benches --bins --examples --tests
12-
- cargo test
1316
- cargo fmt --all -- --check
17+
- cargo check --benches --bins --examples --tests
18+
- CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="valgrind --leak-check=full --error-exitcode=1" \
19+
cargo test

0 commit comments

Comments
 (0)