From a3e652bd645abee4f6ea343769fce62578639c2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thiemo=20M=C3=A4ttig?= Date: Thu, 20 Apr 2017 14:24:55 +0200 Subject: [PATCH] Minor fixups to CI and make it run PHPCS --- .travis.yml | 3 +-- composer.json | 6 ++++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index aeff458..82969ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,7 @@ php: - 7.1 - hhvm -before_script: - - composer install --prefer-source +install: travis_retry composer install script: - composer test diff --git a/composer.json b/composer.json index a99d1f6..477ac79 100644 --- a/composer.json +++ b/composer.json @@ -45,10 +45,12 @@ }, "scripts": { "phpcs": [ - "vendor/bin/phpcs src/* tests/* --standard=phpcs.xml -sp" + "phpcs src/* tests/* --standard=phpcs.xml -sp" ], "test": [ - "vendor/bin/phpunit" + "@validate --no-interaction", + "@phpcs", + "phpunit" ] } }