From: Julien Tanguy Date: Tue, 17 Nov 2015 12:05:17 +0000 (+0100) Subject: Copy benchmark report to haddock X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=2a1583742d14f4cd12bb963c9fd28e248c7e2952;p=github%2Ffretlink%2Fhmacaroons.git Copy benchmark report to haddock --- diff --git a/.travis.yml b/.travis.yml index 45796f3..67c3e30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -85,7 +85,7 @@ script: fi - cabal build # this builds all libraries and executables (including tests/benchmarks) - run-cabal-test test - - cabal bench + - cabal bench --benchmark-options="--output benchmark.html" - cabal check - cabal sdist # tests that a source-distribution can be generated # Check that the resulting source distribution can be built & installed. diff --git a/scripts/pushdoc.sh b/scripts/pushdoc.sh index 34c811a..ccae6c9 100644 --- a/scripts/pushdoc.sh +++ b/scripts/pushdoc.sh @@ -7,6 +7,9 @@ cabal haddock # Go to haddock output dir cd dist/doc/html/hmacaroons +# Copy benchmark +cp benchmark.html dist/doc/html/hmacaroons + # Quiet the git init message, since it's not useful in the build log git init > /dev/null 2>&1