forked from Smile-SA/magento2-module-store-delivery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (17 loc) · 779 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: php
php:
- '5.6'
- '7.0'
install: [
"mkdir -p app/etc var",
"echo \"{\\\"http-basic\\\":{\\\"repo.magento.com\\\":{\\\"username\\\":\\\"${MAGENTO_USERNAME}\\\",\\\"password\\\":\\\"${MAGENTO_PASSWORD}\\\"}}}\" > auth.json",
"composer install --prefer-dist"
]
cache:
directories:
- $HOME/.composer/cache
script:
- vendor/bin/phpcs --config-set installed_paths vendor/magento/marketplace-eqp/
- vendor/bin/phpcs --standard=vendor/magento/marketplace-eqp/MEQP2 --ignore=vendor,pub --severity=9 ./
- vendor/bin/phpcs --standard=vendor/smile/magento2-smilelab-phpcs/phpcs-standards/SmileLab --ignore=vendor,pub --extensions=php ./
- vendor/bin/phpmd ./ text vendor/smile/magento2-smilelab-phpmd/phpmd-rulesets/rulset.xml --exclude vendor,pub