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