Skip to content

Commit 512e8ed

Browse files
mxindenbreezewishlucab
authored
.travis.yml: Run benchmarks on each run (#353)
Signed-off-by: Max Inden <[email protected]> Co-authored-by: Wenxuan <[email protected]> Co-authored-by: Luca Bruno <[email protected]>
1 parent 430de6e commit 512e8ed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,8 @@ script:
4444
if [ $TRAVIS_RUST_VERSION = 'nightly' ]; then
4545
cargo build -p prometheus-static-metric --examples --no-default-features --features="$FEATURES"
4646
cargo test -p prometheus-static-metric --no-default-features --features="$FEATURES"
47+
48+
# Run benchmarks.
49+
cargo bench --no-default-features --features="$FEATURES"
50+
cargo bench -p prometheus-static-metric --no-default-features --features="$FEATURES"
4751
fi

0 commit comments

Comments
 (0)