From 38058f61e8b9ecebff21a705d1cabb25bdb8c7c0 Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Tue, 18 Dec 2018 16:49:04 +0100 Subject: [PATCH] Run benchmarks in travis. --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index b74515a..765594f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,3 +16,9 @@ cache: cargo # Custom directory, for the correct year before_script: - cd 2018 + +# After success on stable, run benchmark +after_succes: + - if [ "$TRAVIS_RUST_VERSION" == "stable" ]; then + cargo bench; + fi