mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
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:
parent
7277eef7f2
commit
cd22948c31
|
@ -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…
Reference in New Issue
Block a user