Build benchmark tests in Travis.
This commit is contained in:
parent
5d6460538f
commit
ebc131c120
@ -125,6 +125,12 @@ matrix:
|
||||
script:
|
||||
- cargo fmt --all -- --write-mode=diff
|
||||
|
||||
# benchmark tests; built but not run in Travis to avoid inconsistent timing results
|
||||
- rust: nightly
|
||||
env: NAME=bench
|
||||
script:
|
||||
- scripts/build_benches.sh
|
||||
|
||||
# compatiblity tests
|
||||
- rust: stable
|
||||
env: NAME=compatiblity
|
||||
|
10
scripts/build_benches.sh
Executable file
10
scripts/build_benches.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash -e
|
||||
|
||||
set -x
|
||||
|
||||
trust_dns_dir=$(dirname $0)/..
|
||||
cd $trust_dns_dir
|
||||
|
||||
# Benchmark tests build only on nightly
|
||||
|
||||
cargo bench --no-run
|
Loading…
Reference in New Issue
Block a user