paste.libre-service.eu-priv.../.travis.yml
2017-02-12 15:02:29 +01:00

25 lines
593 B
YAML

language: php
sudo: false
php:
- 5.5
- 5.6
- 7.0
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install 4
before_script:
- composer install -n
- npm install -g mocha
- cd js
- npm install jsverify jsdom jsdom-global
- cd ..
script:
- cd tst && phpunit
- cd ../js && mocha
after_script:
- cd ..
- vendor/bin/codacycoverage clover tst/log/coverage-clover.xml
- vendor/bin/test-reporter --coverage-report tst/log/coverage-clover.xml