Skip to content

Commit 0c72d8b

Browse files
committed
Merge pull request #311 from Soullivaneuh/patch-1
Travis improve
2 parents 89e3821 + fbf87f4 commit 0c72d8b

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed

.travis.yml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,42 @@ php:
55
- 5.4
66
- 5.5
77
- 5.6
8+
- hhvm
9+
- nightly
10+
11+
matrix:
12+
fast_finish: true
13+
include:
14+
- php: 5.3
15+
env: COMPOSER_FLAGS="--prefer-lowest"
16+
- php: 5.6
17+
env: SYMFONY_VERSION=2.3.*
18+
- php: 5.6
19+
env: SYMFONY_VERSION=2.5.*
20+
- php: 5.6
21+
env: SYMFONY_VERSION=2.6.*
22+
- php: 5.6
23+
env: SYMFONY_VERSION=2.7.*@dev
24+
- php: 5.6
25+
env: SYMFONY_VERSION=2.8.*@dev
26+
- php: 5.6
27+
env: SYMFONY_VERSION="3.0.x-dev as 2.6"
28+
allow_failures:
29+
- php: hhvm
30+
- php: nightly
31+
- env: SYMFONY_VERSION=2.7.*@dev
32+
- env: SYMFONY_VERSION=2.8.*@dev
33+
- env: SYMFONY_VERSION="3.0.x-dev as 2.6"
34+
35+
cache:
36+
directories:
37+
- vendor
38+
- $HOME/.composer/cache
839

940
before_script:
1041
- echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
11-
- composer install --dev --prefer-dist --no-interaction
42+
- composer selfupdate
43+
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
44+
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
1245

1346
phpunit: phpunit --coverage-text

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"require-dev": {
2525
"symfony/class-loader": "~2.1",
2626
"symfony/yaml": "~2.1",
27-
"willdurand/propel-typehintable-behavior": "1.0.*",
27+
"willdurand/propel-typehintable-behavior": "~1.0,>1.0.4",
2828
"doctrine/mongodb-odm": "1.0.*@dev",
2929
"doctrine/doctrine-bundle": "~1.0",
3030
"doctrine/orm": ">=2.2,<2.5-dev"

0 commit comments

Comments
 (0)