Merge pull request #113 from bjz/bench

Build benchmarks on travis
This commit is contained in:
Brendan Zabarauskas 2014-08-11 16:32:51 +10:00
commit 9aec9fb279
3 changed files with 13 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,3 +1,4 @@
.DS_Store
/target
/Cargo.lock
/bench/bench

View file

@ -20,6 +20,7 @@ env:
script:
- cargo build
- cargo test
- make -C bench
- cargo doc
after_script:
# the doc directory needs to be in the root for rust-ci

11
bench/Makefile Normal file
View file

@ -0,0 +1,11 @@
all: bench
bench: *.rs ../src/*.rs
(cd .. && cargo build)
rustc -L ../target --test bench.rs
run: bench
./bench --bench
clean:
rm bench