Skip to content

Commit 9693d74

Browse files
committed
Merge pull request #82 from FriendsOfSymfony/travis_improvements
Improved the Travis configuration
2 parents 5d64b1b + c2c118f commit 9693d74

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

.travis.yml

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,29 @@ php:
44
- 5.3
55
- 5.4
66
- 5.5
7+
- 5.6
8+
- hhvm
9+
10+
branches:
11+
only:
12+
- master
13+
- /^\d+\.\d+$/
14+
15+
matrix:
16+
include:
17+
- php: 5.5
18+
env: SYMFONY_VERSION='2.3.*'
19+
- php: 5.5
20+
env: SYMFONY_VERSION='2.4.*'
21+
- php: 5.5
22+
env: SYMFONY_VERSION='dev-master'
23+
allow_failure:
24+
- php: hhvm
725

8-
env:
9-
- SYMFONY_VERSION=2.3.*
10-
- SYMFONY_VERSION=2.4.*
11-
- SYMFONY_VERSION=dev-master
1226

1327
before_script:
14-
- composer require --dev symfony/symfony:${SYMFONY_VERSION}
28+
- sh -c 'if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony=$SYMFONY_VERSION; fi;'
29+
- composer install
1530

1631
script: phpunit --coverage-clover=coverage.clover
1732

0 commit comments

Comments
 (0)