39 lines
604 B
YAML
39 lines
604 B
YAML
language: php
|
|
|
|
sudo: false
|
|
|
|
env:
|
|
global:
|
|
- DB_USER=root
|
|
- DB_HOST=localhost
|
|
- DB_NAME=magento2_test
|
|
- ADMIN_FIRSTNAME=admin_firstname
|
|
- ADMIN_LASTNAME=admin_lastname
|
|
- ADMIN_EMAIL=example@email.com
|
|
- ADMIN_USER=admin
|
|
- ADMIN_PASS=admin123
|
|
|
|
matrix:
|
|
include:
|
|
- php: 7.1
|
|
env: BRANCH=2.2.8
|
|
- php: 7.2
|
|
env: BRANCH=2.2.8
|
|
- php: 7.3
|
|
env: BRANCH=2.2.8
|
|
|
|
before_script:
|
|
- bash bin/install.sh
|
|
|
|
script:
|
|
- bash bin/script.sh
|
|
|
|
deploy:
|
|
skip_cleanup: true
|
|
provider: script
|
|
script: make
|
|
on:
|
|
php: 7.2
|
|
branch: master
|
|
condition: "$DEPLOY = true"
|