diff --git a/.gitignore b/.gitignore index 53f75bb..ffe6d8c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -composer.lock -marketplace-eqp/ -Test/Unit/logs/ -vendor/ +/composer.lock +/magento-coding-standard/ +/Test/Unit/logs/ +/vendor/ diff --git a/.travis.yml b/.travis.yml index 44dce7c..a596bb4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,16 +5,17 @@ language: php php: - 7.1 - 7.2 + - 7.3 install: - mkdir -p ~/.composer/ - echo "{\"http-basic\":{\"repo.magento.com\":{\"username\":\"${MAGENTO_USERNAME}\",\"password\":\"${MAGENTO_PASSWORD}\"}}}" > ~/.composer/auth.json - composer install --prefer-dist - - composer create-project --repository=https://repo.magento.com magento/marketplace-eqp marketplace-eqp + - composer create-project magento/magento-coding-standard magento-coding-standard script: - - php marketplace-eqp/vendor/bin/phpcs Model/ Test/ --standard=MEQP2 --severity=10 - - php vendor/bin/phpmd Model/,Test text cleancode,codesize,controversial,design,naming,unusedcode --ignore-violations-on-exit + - php magento-coding-standard/vendor/bin/phpcs Model/ Test/ --standard=Magento2 --severity=10 + - php vendor/bin/phpmd Model/ text cleancode,codesize,controversial,design,naming,unusedcode --ignore-violations-on-exit - php vendor/phpunit/phpunit/phpunit --coverage-clover Test/Unit/logs/clover.xml Test after_script: