mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
further tweaking travis CI scripts
This commit is contained in:
parent
85401a1513
commit
49feb300b6
13
.travis.yml
13
.travis.yml
@ -16,18 +16,15 @@ install:
|
|||||||
before_script:
|
before_script:
|
||||||
- composer install -n
|
- composer install -n
|
||||||
- npm install -g mocha
|
- npm install -g mocha
|
||||||
- cd js
|
- cd js && npm install jsverify jsdom@9 jsdom-global@2
|
||||||
- npm install jsverify jsdom@9 jsdom-global@2
|
|
||||||
- cd ..
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd tst && ../vendor/bin/phpunit
|
- mocha
|
||||||
- cd ../js && mocha
|
- cd ../tst && ../vendor/bin/phpunit
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- cd ..
|
- ../vendor/bin/codacycoverage clover log/coverage-clover.xml
|
||||||
- vendor/bin/codacycoverage clover tst/log/coverage-clover.xml
|
- ../vendor/bin/test-reporter --coverage-report log/coverage-clover.xml
|
||||||
- vendor/bin/test-reporter --coverage-report tst/log/coverage-clover.xml
|
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
Loading…
Reference in New Issue
Block a user