forked from eko/FeedBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (30 loc) · 913 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
language: php
cache:
directories:
- $HOME/.composer/cache/files
matrix:
fast_finish: true
include:
- php: 7.2
env: SYMFONY_VERSION=2.5.*
- php: 7.2
env: SYMFONY_VERSION=2.7.*
- php: 7.2
env: SYMFONY_VERSION=2.8.*
- php: 7.2
env: SYMFONY_VERSION=3.0.*
- php: 7.2
env: SYMFONY_VERSION=3.1.*
- php: 7.2
env: SYMFONY_VERSION=3.2.*
allow_failures:
- php: hhvm
before_install:
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; else composer require "symfony/symfony:dev-master"; fi;
- if [ "$SYMFONY_VERSION" = "3.1.*@dev" ] || [ "$SYMFONY_VERSION" = "3.2.*@dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
install:
- composer update --dev --prefer-source $COMPOSER_FLAGS
script: phpunit
notifications:
email:
- travis-ci@composieux.fr