forked from hostnet/form-handler-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (34 loc) · 999 Bytes
/
.travis.yml
File metadata and controls
42 lines (34 loc) · 999 Bytes
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
language: php
sudo: false
cache:
directories:
- "$HOME/.composer/cache/files"
env:
- COMPOSER_FLAGS="--prefer-stable"
php:
- 7.1
matrix:
include:
- php: 5.6
env: COMPOSER_FLAGS="--prefer-lowest"
- php: 5.6
env: SYMFONY_VERSION="^2.8"
- php: 7.0
env: WITHOUT_EXTRA_BUNDLE=1
- php: 7.1
env: SYMFONY_VERSION="^3.4"
- php: 7.1
env: SYMFONY_VERSION="^4.0"
- script: vendor/bin/phpcs -n
env: PHPCS_BUILD=1
- php: 7.1
env: COMPOSER_FLAGS="" SYMFONY_VERSION="dev-master"
allow_failures:
- php: 7.1
env: COMPOSER_FLAGS="" SYMFONY_VERSION="dev-master"
before_install:
- COMPOSER_MEMORY_LIMIT="4G"
- if [[ "$SYMFONY_VERSION" != "" ]]; then composer require --no-update symfony/symfony:${SYMFONY_VERSION}; fi
- if [[ "$WITHOUT_EXTRA_BUNDLE" != "" ]]; then composer remove "sensio/framework-extra-bundle" --dev; fi;
install: composer update $COMPOSER_FLAGS --prefer-dist
script: vendor/bin/phpunit