diff options
author | nornholdj <nornholdj@gmail.com> | 2014-11-04 18:00:01 -0500 |
---|---|---|
committer | nornholdj <nornholdj@gmail.com> | 2014-11-04 18:00:01 -0500 |
commit | fea870e7ce1a59accdb4e2e4be2c41170523d4c7 (patch) | |
tree | ca192a9ea0084b7f59807ff5fd3c262bb05ebb6d /RoboFile.php | |
parent | 5d346d241fc0d0b565d7aa6ce0179a5da4c73dc0 (diff) | |
parent | 39f2699a7e7850397882a6d2ee3a8438a105b72d (diff) | |
download | php-sparkpost-fea870e7ce1a59accdb4e2e4be2c41170523d4c7.zip php-sparkpost-fea870e7ce1a59accdb4e2e4be2c41170523d4c7.tar.gz php-sparkpost-fea870e7ce1a59accdb4e2e4be2c41170523d4c7.tar.bz2 |
Merge branch 'release/1'
Diffstat (limited to 'RoboFile.php')
-rw-r--r-- | RoboFile.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/RoboFile.php b/RoboFile.php new file mode 100644 index 0000000..9245e1b --- /dev/null +++ b/RoboFile.php @@ -0,0 +1,17 @@ +<?php +/** + * This is project's console commands configuration for Robo task runner. + * + * @see http://robo.li/ + */ +class RoboFile extends \Robo\Tasks +{ + public function test () { + $res = $this->taskExec('phpunit --coverage-html test/output/report --bootstrap test/unit/bootstrap.php ./test/unit')->run(); + + // print message when tests passed + if ($res->wasSuccessful()) $this->say("All tests passed"); + + return $res(); + } +} |