-
Notifications
You must be signed in to change notification settings - Fork 126
/
.travis.yml
43 lines (36 loc) · 1.09 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
language: php
matrix:
include:
- php: 7.2
env: DEPENDENCIES="symfony/lts:3"
- php: 7.3
env: DEPENDENCIES="symfony/lts:3"
- php: 7.4
env: DEPENDENCIES="symfony/lts:3"
- php: 7.2
env: DEPENDENCIES="symfony/lts:4.x-dev"
- php: 7.3
env: DEPENDENCIES="symfony/lts:4.x-dev"
- php: 7.4
env: DEPENDENCIES="symfony/lts:4.x-dev"
- php: 7.2
- php: 7.3
- php: 7.4
allow_failures:
- php: nightly
branches:
only:
- master
- /^\d+\.\d+$/
before_script:
- mkdir -p ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d && echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
- if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
- composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
script:
- mkdir -p build/logs
- vendor/bin/phpunit
# Run coveralls
after_success:
- php vendor/bin/php-coveralls -v
notifications:
email: [email protected]