forked from firegento/FireGento_ExtendedImport2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (46 loc) · 1.18 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
# Copyright © 2016 FireGento e.V.
# See LICENSE.md bundled with this module for license details.
sudo: required
dist: trusty
addons:
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
env:
global:
- COVERAGE: FALSE
matrix:
fast_finish: true
include:
- php: 5.6
env: MAGENTO_VERSION=2.0.12
- php: 5.6
env: MAGENTO_VERSION=2.0.*
- php: 7.0
env: MAGENTO_VERSION=2.1.0
- php: 7.0
env: MAGENTO_VERSION=2.1.*
- php: 7.1
env: MAGENTO_VERSION=2.2.0
- php: 7.1
env: MAGENTO_VERSION=2.2.* UNIT_TEST=true CODE_QUALITY=true
- php: 7.2
env: MAGENTO_VERSION=2.3.0 UNIT_TEST=true
- php: 7.2
env: MAGENTO_VERSION=2.3.* UNIT_TEST=true
language: php
cache:
directories:
- "$HOME/.composer/cache"
- "$HOME/.php-cs-fixer"
- "$HOME/.local"
before_install:
- "./Test/script/travis_before_install.sh"
install:
- echo "{\"http-basic\":{\"repo.magento.com\":{\"username\":\"${MAGENTO_USERNAME}\",\"password\":\"${MAGENTO_PASSWORD}\"}}}" > $HOME/.composer/auth.json
- export MAGENTO_ROOT=`mktemp -d /tmp/mage.XXXXXXXX`
- "./Test/script/travis_install_magento.sh $MAGENTO_VERSION"
script:
- "./Test/script/travis_script.sh"