mirror of
https://github.com/filegator/filegator.git
synced 2025-08-14 02:04:25 +02:00
travisci fix
This commit is contained in:
49
.travis.yml
49
.travis.yml
@@ -1,24 +1,35 @@
|
|||||||
language: php
|
matrix:
|
||||||
|
include:
|
||||||
|
- language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 7.1.3
|
- 7.1.3
|
||||||
- 7.2
|
- 7.2
|
||||||
- 7.3
|
- 7.3
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- cp configuration_sample.php configuration.php
|
- cp configuration_sample.php configuration.php
|
||||||
- composer self-update
|
- composer self-update
|
||||||
- composer install --no-interaction
|
- composer install --no-interaction
|
||||||
- npm install
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit --coverage-clover=coverage.xml
|
- vendor/bin/phpunit --coverage-clover=coverage.xml
|
||||||
- npm run lint
|
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- bash <(curl -s https://codecov.io/bash)
|
- bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
||||||
# Installs Sensiolabs security checker to check against unsecure libraries
|
# Installs Sensiolabs security checker to check against unsecure libraries
|
||||||
- php -r "readfile('http://get.sensiolabs.org/security-checker.phar');" > security-checker
|
- php -r "readfile('http://get.sensiolabs.org/security-checker.phar');" > security-checker
|
||||||
- chmod +x security-checker
|
- chmod +x security-checker
|
||||||
- ./security-checker security:check
|
- ./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