forked from ekino/EkinoWordpressBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (48 loc) · 1.26 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
language: php
php:
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- hhvm
cache:
directories:
- $HOME/.composer/cache/files
matrix:
fast_finish: true
include:
- php: 5.5
env: DEPENDENCIES="symfony/lts:^2"
- php: 5.6
env: DEPENDENCIES="symfony/lts:^2"
- php: 7.0
env: DEPENDENCIES="symfony/lts:^3"
- php: 7.1
env: DEPENDENCIES="symfony/lts:^3"
- php: 7.2
env: DEPENDENCIES="symfony/lts:^3"
- php: 7.3
env: DEPENDENCIES="symfony/lts:^3"
- php: 7.2
env: DEPENDENCIES="symfony/symfony:4.4"
- php: 7.3
env: DEPENDENCIES="symfony/symfony:4.4"
- php: 7.4
env: DEPENDENCIES="symfony/symfony:4.4"
allow_failures:
- php: hhvm
before_install:
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "memory_limit=4G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi;
- if [ "$DEPENDENCIES" != "" ]; then composer require --no-update $DEPENDENCIES; fi;
- if [ "DEPENDENCIES" = "symfony/lts:^4" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
install:
- composer update --dev --prefer-source --no-interaction
script: vendor/bin/phpunit
notifications:
email:
- composieux@ekino.com
# Because of PHP 5.5
dist: trusty