-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
27 lines (21 loc) · 2.14 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
sudo: false
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 magento/magento-coding-standard magento-coding-standard
script:
- php magento-coding-standard/vendor/bin/phpcs Api/ Console/ Test/ --standard=Magento2 --severity=10
- php vendor/bin/phpmd Api/,Console/,Test/ 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:
- php vendor/bin/coveralls -v
env:
global:
- secure: "xAlDyogTQhi2IWGsWdU9WdbtYpQ7I7HsKoyoF41vWJvAQv/Rq5zS1Suc17zSzDGbGqXkcmsHEbYf9rK5oN6R93Z7jXs0oIvJ4SJ55v2Nn3POMyda9G93cjITcQ383/EZiW/w0vrb4oBncSOjl59ufADLBIyKMHmoIn1VBq/ldbPXNVo0Y5sK/e8h7h2fFKX2gz56KK1Nv7Dkn1hI5rvQwubpdLpevlEMgLivpwGSmjCATkShs+ajn7ohPokIFhbufDC3Wr0WhbqawuY4ZvueLj++BGfoHj9turX0asFan22ZtFE3AD0c2WdWK0CPCY5ZeGVD38ncC50hd15ASe59lo0vZnsH/awTAdsyUyB8BKoEsR2XRGf3l+UVudtGxDz86Lg+WDe2eeqyLRpPrgZqvzpZ2AsHV77f8mq2k3LwD9IROrGSfxTL+eS6FDzqZp/GGXi/gEBajMenGXb7l2wGLa4I2GUECeRXrrAbX1WjzSfQbp0WvKD7Ptnem4npLJ2XPwV0F6I3PsDa743z9kl/x+fMm+a/5P2w8OWZZtj0vWBilUvRCRnL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