forked from alexander-aleman/buckaroo-magento2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (35 loc) · 852 Bytes
/
.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
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.5
- MAGENTO_VERSION=2.2.6
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.6 CODE_COVERAGE=true
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