From 8de4f02681a6491f552bb0577c153d59e3e18d55 Mon Sep 17 00:00:00 2001 From: "Paul M. Jones" Date: Fri, 5 Sep 2014 11:14:21 -0500 Subject: [PATCH] back to plain old phpunit for unit tests --- .travis.yml | 4 +--- README.md | 2 +- tests/unit/phpunit.sh | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) delete mode 100755 tests/unit/phpunit.sh diff --git a/.travis.yml b/.travis.yml index fad7c255..3565044f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,8 @@ php: - 5.5 - 5.6 - hhvm -before_script: - - cd tests/unit script: - - ./phpunit.sh --coverage-clover=coverage.clover + - phpunit -c tests/unit/ --coverage-clover=coverage.clover after_script: - wget https://scrutinizer-ci.com/ocular.phar - php ocular.phar code-coverage:upload --format=php-clover coverage.clover diff --git a/README.md b/README.md index 340a7070..34d6ca7f 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Alternatively, [download a release](https://github.com/auraphp/Aura.Sql/releases [![Code Coverage](https://scrutinizer-ci.com/g/auraphp/Aura.Sql/badges/coverage.png?b=develop-2)](https://scrutinizer-ci.com/g/auraphp/Aura.Sql/) [![Build Status](https://travis-ci.org/auraphp/Aura.Sql.png?branch=develop-2)](https://travis-ci.org/auraphp/Aura.Sql) -To run the unit tests at the command line, go to the _tests/unit_ directory and issue `./phpunit.sh`. (This requires [PHPUnit][] to be available as `phpunit`.) +To run the unit tests at the command line, issue `phpunit -c tests/unit/`. (This requires [PHPUnit][] to be available as `phpunit`.) [PHPUnit]: http://phpunit.de/manual/ diff --git a/tests/unit/phpunit.sh b/tests/unit/phpunit.sh deleted file mode 100755 index aae18c29..00000000 --- a/tests/unit/phpunit.sh +++ /dev/null @@ -1,2 +0,0 @@ -phpunit $@ -exit $?