Skip to content

Commit

Permalink
Build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
renatocason committed Jan 5, 2020
1 parent 851434c commit e44e8ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .gitignore
@@ -1,4 +1,4 @@
composer.lock
marketplace-eqp/
Test/Unit/logs/
vendor/
/composer.lock
/magento-coding-standard/
/Test/Unit/logs/
/vendor/
7 changes: 4 additions & 3 deletions .travis.yml
Expand Up @@ -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:
Expand Down

0 comments on commit e44e8ab

Please sign in to comment.