Skip to content

Commit

Permalink
back to plain old phpunit for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul M. Jones committed Sep 5, 2014
1 parent 3482ddf commit 8de4f02
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down
2 changes: 0 additions & 2 deletions tests/unit/phpunit.sh

This file was deleted.

0 comments on commit 8de4f02

Please sign in to comment.