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
1 changed files with 5 additions and 8 deletions

View File

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