2016-05-22 11:09:00 -04:00
|
|
|
language: php
|
|
|
|
sudo: false
|
|
|
|
php:
|
2016-07-05 11:01:26 -04:00
|
|
|
- 5.5
|
|
|
|
- 5.6
|
|
|
|
- 7.0
|
2017-02-12 08:50:06 -05:00
|
|
|
node_js:
|
|
|
|
- "node"
|
2016-07-05 11:01:26 -04:00
|
|
|
|
|
|
|
before_script:
|
2016-07-05 11:52:32 -04:00
|
|
|
- composer install -n
|
2017-02-12 08:30:41 -05:00
|
|
|
- npm install -g mocha
|
|
|
|
- cd js
|
|
|
|
- npm install jsverify jsdom jsdom-global
|
|
|
|
- cd ..
|
2016-07-05 11:01:26 -04:00
|
|
|
|
2016-05-22 11:09:00 -04:00
|
|
|
script:
|
2016-07-11 09:52:08 -04:00
|
|
|
- cd tst && phpunit
|
2017-02-12 08:30:41 -05:00
|
|
|
- cd ../js && mocha
|
2016-07-05 11:01:26 -04:00
|
|
|
|
|
|
|
after_script:
|
2016-07-09 07:34:07 -04:00
|
|
|
- cd ..
|
|
|
|
- vendor/bin/codacycoverage clover tst/log/coverage-clover.xml
|
|
|
|
- vendor/bin/test-reporter --coverage-report tst/log/coverage-clover.xml
|