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 2017-02-26 17:12:59 +01:00
parent 7277eef7f2
commit cd22948c31
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
2 changed files with 7 additions and 1 deletions

View File

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

View File

@ -23,6 +23,12 @@ $ cd PrivateBin/tst
$ 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
=============================