forked from willdurand/BazingaHateoasBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (40 loc) · 996 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
language: php
sudo: false
git:
depth: 1
cache:
directories:
- $HOME/.composer/cache
php:
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
matrix:
exclude:
- php: 5.5
env: SYMFONY_VERSION=4.0.*
- php: 5.6
env: SYMFONY_VERSION=4.0.*
- php: 7.0
env: SYMFONY_VERSION=4.0.*
env:
- SYMFONY_VERSION=2.3.*
- SYMFONY_VERSION=2.4.*
- SYMFONY_VERSION=2.8.*
- SYMFONY_VERSION=3.0.*
- SYMFONY_VERSION=3.2.*
- SYMFONY_VERSION=2.3.* DEPS=low
- SYMFONY_VERSION=2.4.* DEPS=low
- SYMFONY_VERSION=2.8.* DEPS=low
- SYMFONY_VERSION=3.0.* DEPS=low
- SYMFONY_VERSION=3.2.* DEPS=low
- SYMFONY_VERSION=4.0.*
before_script:
- if [ "$DEPS" = 'low' ] ; then COMPOSER_PARAMS="--prefer-lowest --prefer-stable" ; fi
- composer self-update
- composer require symfony/framework-bundle:${SYMFONY_VERSION} --no-update
- composer update $COMPOSER_PARAMS
script:
- ./vendor/bin/phpunit --coverage-text