forked from doctrine/DoctrineBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (36 loc) · 903 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
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
php:
- 5.5
- 5.6
- 7.0
- 7.1
- nightly
- hhvm
matrix:
include:
- php: 5.5
env: deps=low SYMFONY_DEPRECATIONS_HELPER=weak
- php: 5.6
env: SYMFONY_VERSION="2.8.*@dev"
- php: 5.6
env: deps=dev
allow_failures:
- php: nightly
- env: deps=dev
env:
global:
- deps=no
before_install:
- composer self-update
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/symfony:${SYMFONY_VERSION}; fi;
- if [ "$deps" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
install:
- if [ "$deps" = "low" ]; then composer --prefer-lowest --prefer-stable update; else composer update; fi;
script:
- ./vendor/bin/phpunit -v --coverage-clover ./build/logs/clover.xml
after_script:
- php ./vendor/bin/coveralls -v