forked from integer-net/magento2-global-custom-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·46 lines (46 loc) · 1021 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
45
46
os: linux
dist: trusty
group: edge
services:
- elasticsearch
addons:
apt:
packages:
- mysql-server-5.6
- mysql-client-core-5.6
- mysql-client-5.6
- postfix
hosts:
- magento2.travis
language: php
jobs:
include:
- php: 7.3
env:
- MAGENTO_VERSION=2.3
- TEST_SUITE=integration
- php: 7.3
env:
- MAGENTO_VERSION=2.4-develop
- TEST_SUITE=integration
- php: 7.2
env:
- MAGENTO_VERSION=2.3
- TEST_SUITE=integration
env:
global:
- COMPOSER_BIN_DIR=~/bin
- COMPOSER_PACKAGE_NAME=integer-net/magento2-global-custom-layout
cache:
apt: true
directories:
- $HOME/.composer/cache
before_script:
- |
sleep 10
./.travis/before_script.sh
script: phpunit -c magento2/dev/tests/$TEST_SUITE --coverage-text --coverage-clover=/tmp/coverage.clover
after_script:
- |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover /tmp/coverage.clover