-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
27 lines (21 loc) · 2.2 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 Block/ Gateway/ Model/ Observer/ Setup/ Test/ view/ --standard=Magento2 --severity=10
- php vendor/bin/phpmd Block/,Gateway/,Model/,Observer/,Setup/,view/ 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: "dSQkHA6ybCyS4HyJsghfDtw1bpVlmNxC/URuBkDCJOp+CmrHUXyoo5rDaWWV0ISvvrzh60g8zb0c/ToaOZyDVWUYYBLdv0tZSHsVlILEHAHqRgzu8B2F9FMjYqs5J/vL7Xh7oigTn1E5EH0zJEhnW0y8LuyyenXsKKikBtCkemMiEDOxu2RBNaCtfD6zSmc/Hbcwo0FI4noNOikfEkrAM4BICx2YK8++AIvtmTqOD1qhwqgUMGisEC/QfRN2RuCqoFWGdjXNITug5Cwy3F+kgjeXnotLdXfcyDx9CG60msZHfZx1DR6iSOOxu6UZH3GB7s7OOINSUODJCcvBDQes597TNHPJz/hI2cu732UcWspboDLN1Ucr5D1fM+rv9Oxbbm3eFiAPl3X+TMiyI+lCl+uxtdFRnjUN3WIiEhMXDvAFl5BA/XnWEJ51zuvgbEAcoI5UFde4erzq7Q0GhZeSTiRV6nDW9aoMpcKxch9wJqX/1TlM6pR0yqvHOu5/sXRcoBsla+MWViqdxB43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