Skip to content

Commit b6716fb

Browse files
author
Florian Eckerstorfer
committed
Update Travis configuration
1 parent 44c059e commit b6716fb

1 file changed

Lines changed: 24 additions & 12 deletions

File tree

.travis.yml

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,28 @@
11
language: php
22

3-
php:
4-
- 5.3.3
5-
- 5.3
6-
- 5.4
7-
- 5.5
8-
- 5.6
9-
- hhvm
3+
sudo: false
104

11-
before_script:
12-
- composer --prefer-source install
13-
- cp phpunit.xml.dist phpunit.xml
5+
matrix:
6+
include:
7+
- php: 5.3.3
8+
- php: 5.3
9+
- php: 5.4
10+
- php: 5.5
11+
- php: 5.6
12+
- php: 5.6
13+
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
14+
- php: 7.0
15+
- php: hhvm
16+
- php: nightly
17+
allow_failures:
18+
- php: 7.0
19+
- php: nightly
20+
fast_finish: true
1421

15-
script:
16-
- phpunit
22+
before_install:
23+
- travis_retry composer self-update && composer --version
24+
25+
install:
26+
- travis_retry composer update $COMPOSER_FLAGS --prefer-source -n
27+
28+
script: vendor/bin/phpunit --verbose

0 commit comments

Comments
 (0)