Skip to content

Commit

Permalink
Manage PHPUnit as a composer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Jan 28, 2020
1 parent 15a62ba commit 4ba3a6c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 55 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ php:

before_script:
- composer install --prefer-dist
- echo 'xdebug.max_nesting_level=3000' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini

script:
- ./vendor/bin/phpstan analyze --no-progress
- ./tests/run-tests.sh
- ./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/phpunit

cache:
directories:
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
"pocketmine/binaryutils": "^0.1.9"
},
"require-dev": {
"phpstan/phpstan": "^0.12.8"
"phpstan/phpstan": "^0.12.8",
"irstea/phpunit-shim": "^7.5"
},
"license": "LGPL-3.0",
"autoload": {
Expand Down
31 changes: 0 additions & 31 deletions tests/lint.sh

This file was deleted.

22 changes: 0 additions & 22 deletions tests/run-tests.sh

This file was deleted.

0 comments on commit 4ba3a6c

Please sign in to comment.