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

This commit is contained in:
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 - composer install -n
script: script:
- cd tst && phpunit - cd tst && ../vendor/phpunit/phpunit/phpunit
after_script: after_script:
- cd .. - cd ..

View file

@ -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
============================= =============================