-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
68 lines (63 loc) · 1.94 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
sudo: true
language: php
addons:
mariadb: '10.2'
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.6.x, Symfony ^4.0, PHP 7.3)"
sudo: required
php: 7.3
env:
- PIMCORE_SKELETON_BRANCH="tags/v2.6.0"
- DACHCOM_TEST_SECTION=phpstan
- name: "PHP ECS (Pimcore 6.6.x, Symfony ^4.0, PHP 7.3)"
sudo: required
php: 7.3
env:
- PIMCORE_SKELETON_BRANCH="tags/v2.6.0"
- DACHCOM_TEST_SECTION=ecs
- name: "Codeception Tests (Pimcore 6.6.x, Symfony ^4.0, PHP 7.4)"
sudo: required
php: 7.4
env:
- PIMCORE_SKELETON_BRANCH="tags/v2.6.0"
- name: "Codeception Tests (Pimcore 6.7.x, Symfony ^4.0, PHP 7.3)"
sudo: required
php: 7.3
env:
- PIMCORE_SKELETON_BRANCH="tags/v2.7.0"
- name: "Codeception Tests (Pimcore 6.7.x, Symfony ^4.0, PHP 7.4)"
sudo: required
php: 7.4
env:
- PIMCORE_SKELETON_BRANCH="tags/v2.7.0"
allow_failures:
- env:
- PIMCORE_SKELETON_BRANCH="tags/v2.6.0"
- 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/SocialData/tests/_output/*.html
script:
- _etc/travis/script
notifications:
email: