diff --git a/.travis.yml b/.travis.yml index 9ced8226..b2287569 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,9 +14,6 @@ before_script: - composer self-update - composer --version - composer install --prefer-source + - ./vendor/bin/phpcs src --standard=psr2 -script: phpunit --configuration phpunit.xml.dist - -cache: - directories: - - vendor +script: phpunit --configuration phpunit.xml.dist \ No newline at end of file diff --git a/composer.json b/composer.json index b0319b0d..24bffa85 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,8 @@ "require-dev": { "phpunit/phpunit": "~4.0", "mockery/mockery": "~0.9", - "league/phpunit-coverage-listener": "~1.0" + "league/phpunit-coverage-listener": "~1.0", + "squizlabs/php_codesniffer": "1.*" }, "repositories": [ {