-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy path.travis.yml
32 lines (24 loc) · 912 Bytes
/
.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
language: php
php:
- 7.1
- 7.2
- 7.3
env:
- SYMFONY_VERSION=3.4.*
- SYMFONY_VERSION=4.1.*
- SYMFONY_VERSION=4.2.*
cache:
directories:
- ~/.composer/cache/files
before_install:
- phpenv config-rm xdebug.ini || true
install:
- composer require symfony/dependency-injection:${SYMFONY_VERSION} --no-update --no-scripts --prefer-dist
- composer require symfony/http-kernel:${SYMFONY_VERSION} --no-update --no-scripts --prefer-dist
- composer require symfony/proxy-manager-bridge:${SYMFONY_VERSION} --no-update --no-scripts --prefer-dist
- composer require --dev symfony/framework-bundle:${SYMFONY_VERSION} --no-update --no-scripts --prefer-dist
- composer update --prefer-dist
script:
- composer validate --strict
- vendor/bin/phpstan analyse -c phpstan.neon -l max src -vvv
- vendor/bin/behat -f progress --strict -vvv --no-interaction