-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
bitbucket-pipelines.yml.sample
39 lines (39 loc) · 1.7 KB
/
bitbucket-pipelines.yml.sample
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
28
29
30
31
32
33
34
35
36
37
38
39
image: sashas777/magento-php:7.4-cli
pipelines:
branches:
master:
- step:
caches:
- composer
name: Build
script:
- composer config --global http-basic.repo.magento.com $MAGENTO_USER $MAGENTO_PASS
- composer require --dev thesgroup/magento2-testing-framework --no-update
- composer install --no-suggest --no-ansi --no-interaction --no-scripts
artifacts:
- vendor/**
- parallel:
- step:
caches:
- composer
name: PHP Code Sniffer
script:
- vendor/bin/phpcs --config-set installed_paths vendor/magento/magento-coding-standard,vendor/phpcompatibility/php-compatibility/PHPCompatibility
- vendor/bin/phpunit -c vendor/thesgroup/magento2-testing-framework/static/integrity/phpunit.xml
artifacts:
- test-reports/**
- step:
caches:
- composer
name: ESLint
script:
- vendor/bin/js-tests
- step:
caches:
- composer
name: Unit Tests
script:
- docker-php-ext-enable xdebug
- vendor/bin/phpunit-tests
artifacts:
- test-coverage-html/**