Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
back to plain old phpunit for unit tests
  • Loading branch information
Paul M. Jones committed Sep 5, 2014
1 parent 3c5bbab commit 1a64f52
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Expand Up @@ -4,10 +4,8 @@ php:
- 5.4
- 5.5
- 5.6
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
Expand Up @@ -26,7 +26,7 @@ Alternatively, [download a release](https://github.com/auraphp/Aura.Auth/release
[![Code Coverage](https://scrutinizer-ci.com/g/auraphp/Aura.Auth/badges/coverage.png?b=develop-2)](https://scrutinizer-ci.com/g/auraphp/Aura.Auth/?branch=develop-2)
[![Build Status](https://travis-ci.org/auraphp/Aura.Auth.png?branch=develop-2)](https://travis-ci.org/auraphp/Aura.Auth)

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 1a64f52

Please sign in to comment.