2018-05-04 16:25:15 +03:00
|
|
|
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:
|
2018-05-04 17:42:17 +03:00
|
|
|
- php: 7.1
|
2019-10-17 13:15:24 +03:00
|
|
|
env: BRANCH=2.2.8
|
2018-05-04 17:42:17 +03:00
|
|
|
- php: 7.2
|
2019-10-17 13:15:24 +03:00
|
|
|
env: BRANCH=2.2.8
|
2019-10-17 13:09:47 +03:00
|
|
|
- php: 7.3
|
2019-10-17 13:15:24 +03:00
|
|
|
env: BRANCH=2.2.8
|
2018-05-04 16:25:15 +03:00
|
|
|
|
|
|
|
before_script:
|
|
|
|
- bash bin/install.sh
|
|
|
|
|
|
|
|
script:
|
2018-05-15 16:44:45 +03:00
|
|
|
- bash bin/script.sh
|
2018-05-15 15:54:55 +03:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
skip_cleanup: true
|
|
|
|
provider: script
|
|
|
|
script: make
|
|
|
|
on:
|
|
|
|
php: 7.2
|
|
|
|
branch: master
|
2019-10-17 13:09:47 +03:00
|
|
|
condition: "$DEPLOY = true"
|