From df162b1e28170c0e9f91eaa9bfa96dec70ee11b4 Mon Sep 17 00:00:00 2001 From: Milos Stojanovic Date: Wed, 26 Jun 2019 11:08:56 +0200 Subject: [PATCH] npm added to travis --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 43c20ef..8e28366 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,17 +6,20 @@ php: - 7.3 before_script: - - cp configuration_sample.php configuration.php - composer self-update + - sudo rm -rf ~/.nvm - curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - + - sudo apt-get install -y nodejs + - npm install + +install: - composer install --no-interaction + - npm install script: + - cp configuration_sample.php configuration.php - vendor/bin/phpunit --coverage-clover=coverage.xml + - npm run lint 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