forked from dachcom-digital/pimcore-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
103 lines (98 loc) · 3.39 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
sudo: true
language: php
addons:
mariadb: '10.2'
hosts:
- test-domain1.test
- test-domain2.test
- test-domain3.test
- test-domain4.test
- test-domain5.test
- test-domain6.test
- test-domain7.test
services:
- mysql
env:
global:
- PIMCORE_ENVIRONMENT=test
- DACHCOM_BUNDLE_TEST=1
- PIMCORE_TEST_URL=http://localhost
- PIMCORE_TEST_DB_DSN="mysql://root@localhost/dachcom_bundle_test"
- SYMFONY_DEPRECATIONS_HELPER=weak
- DACHCOM_TEST_SECTION=codeception
- SYMFONY_VERSION=^4.0
- PIMCORE_PHP_ERROR_REPORTING=32767 # E_ALL
matrix:
include:
- name: "PHPStan Static Analysis (Pimcore 6.5.x, Symfony ^4.0, PHP 7.4)"
sudo: required
php: 7.4
env:
- PIMCORE_SKELETON_BRANCH="tags/v2.5.2"
- DACHCOM_TEST_SECTION=phpstan
- name: "PHP ECS (Pimcore 6.5.x, Symfony ^4.0, PHP 7.4)"
sudo: required
php: 7.4
env:
- PIMCORE_SKELETON_BRANCH="tags/v2.5.2"
- DACHCOM_TEST_SECTION=ecs
- name: "Codeception Tests (Pimcore 6.0.x, Symfony ^4.3, PHP 7.3)"
sudo: required
php: 7.3
env:
- SYMFONY_VERSION="~4.3.0"
- PIMCORE_SKELETON_BRANCH="tags/v2.0.0"
- name: "Codeception Tests (Pimcore 6.1.x, Symfony ^4.3, PHP 7.3)"
sudo: required
php: 7.3
env:
- SYMFONY_VERSION="~4.3.0"
- PIMCORE_SKELETON_BRANCH="tags/v2.1.0"
- name: "Codeception Tests (Pimcore 6.2.x, Symfony ^4.3, PHP 7.3)"
sudo: required
php: 7.3
env:
- SYMFONY_VERSION="~4.3.0"
- PIMCORE_SKELETON_BRANCH="tags/v2.2.0"
- name: "Codeception Tests (Pimcore 6.3.x, Symfony ^4.0, PHP 7.3)"
sudo: required
php: 7.3
env:
- PIMCORE_SKELETON_BRANCH="tags/v2.3.0"
- name: "Codeception Tests (Pimcore 6.5.x, Symfony ^4.0, PHP 7.3)"
sudo: required
php: 7.3
env:
- PIMCORE_PHP_ERROR_REPORTING=30711 # E_ALL & ~E_NOTICE & ~E_STRICT: remove this after 6.5.2
- PIMCORE_SKELETON_BRANCH="tags/v2.5.2"
- name: "Codeception Tests (Pimcore 6.5.x, Symfony ^3.4, PHP 7.3)"
sudo: required
php: 7.3
env:
- SYMFONY_VERSION=^3.4
- PIMCORE_PHP_ERROR_REPORTING=30711 # E_ALL & ~E_NOTICE & ~E_STRICT: remove this after 6.5.2
- PIMCORE_SKELETON_BRANCH="tags/v2.5.2"
- name: "Codeception Tests (Pimcore 6.5.x, Symfony ^4.0, PHP 7.4)"
sudo: required
php: 7.4
env:
- PIMCORE_PHP_ERROR_REPORTING=30711 # E_ALL & ~E_NOTICE & ~E_STRICT: remove this after 6.5.2
- PIMCORE_SKELETON_BRANCH="tags/v2.5.2"
allow_failures:
- env:
- PIMCORE_SKELETON_BRANCH="tags/v2.5.2"
- DACHCOM_TEST_SECTION=ecs
fast_finish: true
cache:
directories:
- $HOME/.composer/cache
install:
- tests/_etc/travis/install
after_failure:
- cd $TRAVIS_BUILD_DIR
- cat ./lib/I18nBundle/tests/_output/*
script:
- _etc/travis/script
notifications:
email: