ensuring all PHP versions use the same phpunit from composer in travis CI and documented this alternative in the README

php-unit-testing
El RIDO 7 years ago
parent 7277eef7f2
commit cd22948c31
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

@ -9,7 +9,7 @@ before_script:
- composer install -n - composer install -n
script: script:
- cd tst && phpunit - cd tst && ../vendor/phpunit/phpunit/phpunit
after_script: after_script:
- cd .. - cd ..

@ -23,6 +23,12 @@ $ cd PrivateBin/tst
$ phpunit $ phpunit
``` ```
Or you can also use the phpunit installed as dependency of eris by composer:
```console
$ cd PrivateBin/tst
$ ../vendor/phpunit/phpunit/phpunit
```
Running JavaScript unit tests Running JavaScript unit tests
============================= =============================

Loading…
Cancel
Save