forked from leonhelmus/buckaroo-magento2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
55 lines (45 loc) · 1.05 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
sudo: required
dist: trusty
addons:
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
language: php
php:
- 7.0
env:
global:
- CODE_COVERAGE=false
matrix:
# MAGENTO_VERSION=2.0.18
- MAGENTO_VERSION=2.1.14
- MAGENTO_VERSION=2.1.15
- MAGENTO_VERSION=2.2.2
- MAGENTO_VERSION=2.2.3
matrix:
include:
# PHP 7.1 would be supported in Magento since Magento 2.2
# And there wouldn't be support of PHP 7.1 in Magento 2.0 or 2.1
- php: 7.1
env: MAGENTO_VERSION=2.2.3 CODE_COVERAGE=true
- php: 7.1
env: MAGENTO_VERSION=2.2.8
- php: 7.2
env: MAGENTO_VERSION=2.3.1
allow_failures:
- php: 7.1
env: MAGENTO_VERSION=2.2.8
- php: 7.2
env: MAGENTO_VERSION=2.3.1
before_script:
- composer config -a -g http-basic.repo.magento.com $MAGENTO_USERNAME $MAGENTO_PASSWORD
- bash Test/Script/ManageDependencies.sh
script:
- bash Test/Script/Setup.sh
after_success:
- bash Test/Script/AfterSuccess.sh
cache:
directories:
- $HOME/.composer/cache