-
Notifications
You must be signed in to change notification settings - Fork 61
/
.travis.yml
84 lines (84 loc) · 3.11 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#dist: xenial
#
#git:
# depth: false
#
#addons:
# hosts:
# - magento2.docker
#
#services:
# - docker
#
#language: php
#
#stages:
# - static-integrity
# - functional
#
#jobs:
# include:
# - stage: static-integrity
# script: ./tests/travis/static-integrity.sh;
# php: '7.3'
# env:
# - TEST_SUITE=static-integrity
# - stage: functional
# php: '7.2'
# env:
# - TEST_SUITE=functional-b2b
# - php: '7.3'
# env:
# - TEST_SUITE=functional-b2b
# - PART_INDEX=1
# - php: '7.3'
# env:
# - TEST_SUITE=functional-b2b
# - PART_INDEX=2
# - php: '7.4'
# dist: bionic
# env:
# - TEST_SUITE=functional-b2b
# - php: '7.2'
# env:
# - TEST_SUITE=functional-ce
# - php: '7.3'
# env:
# - TEST_SUITE=functional-ce
# - PART_INDEX=1
# - php: '7.3'
# env:
# - TEST_SUITE=functional-ce
# - PART_INDEX=2
# - php: '7.4'
# dist: bionic
# env:
# - TEST_SUITE=functional-ce
#
#before_install:
# # https://github.com/kylekatarnls/update-helper/issues/9
# - if [ -n "${COMPOSER_VERSION}" ]; then travis_retry composer self-update ${COMPOSER_VERSION}; fi;
#
#install:
# - phpenv config-add travis.php.ini
# - composer config http-basic.repo.magento.com ${REPO_USERNAME_CE} ${REPO_PASSWORD_CE}
# - composer config github-oauth.github.com ${GITHUB_TOKEN}
# - if [ -n "${MCD_VERSION}" ]; then composer config repositories.mcd git git@github.com:magento/magento-cloud-docker.git && composer require "magento/magento-cloud-docker:${MCD_VERSION}" --no-update; fi;
# - if [ -n "${MCP_VERSION}" ]; then composer config repositories.mcp git git@github.com:magento/magento-cloud-patches.git && composer require "magento/magento-cloud-patches:${MCP_VERSION}" --no-update; fi;
# - if [ -n "${MCC_VERSION}" ]; then composer config repositories.mcc git git@github.com:magento/magento-cloud-components.git && composer require "magento/magento-cloud-components:${MCC_VERSION}" --no-update; fi;
# - if [ -n "${ECE_VERSION}" ]; then composer config repositories.ece git git@github.com:magento/ece-tools.git && composer require "magento/ece-tools:${ECE_VERSION}" --no-update; fi;
# - composer config repositories.magento composer https://repo.magento.com/
# - composer require "magento/framework:*" --no-update
# - composer require "magento/module-store:*" --no-update
# - composer require "magento/module-url-rewrite:*" --no-update
# - composer update -n --no-suggest
#
#before_script:
# - sudo sysctl -w vm.max_map_count=262144
# - cp codeception.dist.yml codeception.yml
# - sed -i "s/https:\/\/github.com\/magento\/magento-cloud-patches.git/https:\/\/github.com\/magento\/magento-cloud-patches.git/" codeception.yml
# - if [ $TEST_SUITE == "functional-ce" ]; then sed -i "s/REPO_USERNAME/REPO_USERNAME_CE/" codeception.yml && sed -i "s/REPO_PASSWORD/REPO_PASSWORD_CE/" codeception.yml; fi;
#
#script:
# - if [ $TRAVIS_SECURE_ENV_VARS == "true" ] && [ $TEST_SUITE == "functional-b2b" ]; then ./tests/travis/functional-b2b.sh; fi;
# - if [ $TEST_SUITE == "functional-ce" ]; then ./tests/travis/functional-ce.sh; fi;