travisci fix

This commit is contained in:
Milos Stojanovic
2019-06-25 19:10:18 +02:00
parent bc4f8250bb
commit 2efa98051c

View File

@@ -1,24 +1,35 @@
language: php
matrix:
include:
- language: php
php:
php:
- 7.1.3
- 7.2
- 7.3
before_script:
before_script:
- cp configuration_sample.php configuration.php
- composer self-update
- composer install --no-interaction
- npm install
script:
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml
- npm run lint
after_success:
after_success:
- bash <(curl -s https://codecov.io/bash)
# Installs Sensiolabs security checker to check against unsecure libraries
- php -r "readfile('http://get.sensiolabs.org/security-checker.phar');" > security-checker
- chmod +x security-checker
- ./security-checker security:check
- language: node_js
node_js:
- "7"
before_script:
- npm install
script:
- npm run lint