forked from Sylius/Sylius
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
97 lines (83 loc) · 2.21 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
language: php
dist: trusty
sudo: false
env:
global:
- SYLIUS_CACHE_DIR=$HOME/.sylius-cache
- SYLIUS_BUILD_DIR=etc/build
matrix:
include:
-
php: 7.1
env:
- SYLIUS_SUITE="application"
- SYMFONY_VERSION="3.4.*"
services:
- memcached
-
if: type IN (cron, api) OR tag IS present
php: 7.1
env:
- SYLIUS_SUITE="application"
- SYMFONY_VERSION="4.0.*"
services:
- memcached
-
php: 7.1
env: SYLIUS_SUITE="docs packages"
addons:
apt:
packages:
- parallel
-
if: type IN (cron, api) OR tag IS present
php: 7.2
env:
- SYLIUS_SUITE="application"
- SYMFONY_VERSION="3.4.*"
services:
- memcached
-
php: 7.2
env:
- SYLIUS_SUITE="application"
- SYMFONY_VERSION="4.0.*"
services:
- memcached
-
php: 7.2
env: SYLIUS_SUITE="packages"
addons:
apt:
packages:
- parallel
allow_failures:
- env:
- SYLIUS_SUITE="application"
- SYMFONY_VERSION="4.0.*"
fast_finish: true
cache:
yarn: true
directories:
- ~/.composer/cache/files
- ~/.cache/pip
- node_modules
- $SYLIUS_CACHE_DIR
before_install:
- etc/travis/run-suite before_install "${SYLIUS_SUITE}"
install:
- etc/travis/run-suite install "${SYLIUS_SUITE}"
before_script:
- etc/travis/run-suite before_script "${SYLIUS_SUITE}"
script:
- etc/travis/run-suite script "${SYLIUS_SUITE}"
before_cache:
- etc/travis/run-suite before_cache "${SYLIUS_SUITE}"
after_success:
- etc/travis/run-suite after_success "${SYLIUS_SUITE}"
after_failure:
- etc/travis/run-suite after_failure "${SYLIUS_SUITE}"
after_script:
- etc/travis/run-suite after_script "${SYLIUS_SUITE}"
notifications:
email: false