further tweaking travis CI scripts

This commit is contained in:
El RIDO 2018-01-02 09:38:28 +01:00
parent 85401a1513
commit 49feb300b6
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -16,18 +16,15 @@ install:
before_script:
- composer install -n
- npm install -g mocha
- cd js
- npm install jsverify jsdom@9 jsdom-global@2
- cd ..
- cd js && npm install jsverify jsdom@9 jsdom-global@2
script:
- cd tst && ../vendor/bin/phpunit
- cd ../js && mocha
- mocha
- cd ../tst && ../vendor/bin/phpunit
after_script:
- cd ..
- vendor/bin/codacycoverage clover tst/log/coverage-clover.xml
- vendor/bin/test-reporter --coverage-report tst/log/coverage-clover.xml
- ../vendor/bin/codacycoverage clover log/coverage-clover.xml
- ../vendor/bin/test-reporter --coverage-report log/coverage-clover.xml
cache:
directories: