From 54f75d52f89418d19b5e35566147a625f277a6d5 Mon Sep 17 00:00:00 2001 From: Haralan Dobrev Date: Fri, 14 Feb 2014 01:37:31 +0200 Subject: [PATCH] Run markbench after the tests pass See https://github.com/kzykhys/Markbench The check for PHP version is because Markbench does not run on HHVM. --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index ebe4d30..aeeab61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,3 +7,10 @@ php: - 5.3 - 5.2 - hhvm + +after_success: + - php --version | grep Zend >/dev/null && composer require --no-update composer/composer:*@dev + - php --version | grep Zend >/dev/null && composer require kzykhys/markbench:*@dev + - php --version | grep Zend >/dev/null && vendor/bin/markbench benchmark --parser=erusev/parsedown --profile=blank + - php --version | grep Zend >/dev/null && vendor/bin/markbench benchmark --parser=erusev/parsedown --profile=default + - php --version | grep Zend >/dev/null && vendor/bin/markbench benchmark --parser=erusev/parsedown --profile=github-sample