mirror of
https://github.com/filegator/filegator.git
synced 2025-08-14 03:54:10 +02:00
travisci fix
This commit is contained in:
25
.travis.yml
25
.travis.yml
@@ -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
|
||||
|
Reference in New Issue
Block a user