forked from gregurco/GuzzleBundleCachePlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
49 lines (39 loc) · 1.13 KB
/
.travis.yml
File metadata and controls
49 lines (39 loc) · 1.13 KB
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
language: php
sudo: false
php:
- 7.1
- 7.2
- 7.3
- 7.4
env:
- SYMFONY_VERSION=4.4.* # LTS (until 11/2023)
- SYMFONY_VERSION=5.0.* # (until 07/2020)
- SYMFONY_VERSION=5.1.* # (until 01/2021)
cache:
directories:
- $HOME/.composer/cache/files
before_install:
- composer self-update
- if [ "$DEPENDENCIES" == "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer --no-update require symfony/symfony:${SYMFONY_VERSION}; fi;
install:
- composer update
- vendor/bin/simple-phpunit install
script:
- mkdir -p build/logs
- composer validate --strict --no-check-lock
- vendor/bin/simple-phpunit --coverage-text --verbose
after_success:
- travis_retry php vendor/bin/php-coveralls
matrix:
exclude:
- php: 7.1
env: SYMFONY_VERSION=5.0.* # requires PHP ^7.2.5
- php: 7.1
env: SYMFONY_VERSION=5.1.* # requires PHP ^7.2.5
allow_failures:
- php: nightly
- env: SYMFONY_VERSION=dev-master
notifications:
email:
- "gregurco.vlad@gmail.com"