Skip to content

Commit 54d7400

Browse files
author
Norbert Orzechowicz
committed
Merge pull request #54 from norzechowicz/lowest-dependencies
Added test for lowest versions of dependnecies
2 parents 51f48df + 7eec3f1 commit 54d7400

File tree

1 file changed

+20
-8
lines changed

1 file changed

+20
-8
lines changed

.travis.yml

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

3-
php:
4-
- 5.3
5-
- 5.4
6-
- 5.5
3+
matrix:
4+
include:
5+
- php: 5.3
6+
env: DEPENDENCIES='low'
7+
- php: 5.3
8+
- php: 5.4
9+
- php: 5.5
10+
- php: 5.6
11+
- php: hhvm
12+
allow_failures:
13+
- env: DEPENDENCIES='low'
714

8-
before_script:
9-
- curl -s http://getcomposer.org/installer | php
10-
- php composer.phar --dev install
15+
before_install:
16+
- composer self-update
1117

12-
script: bin/phpunit --coverage-text
18+
install:
19+
- export COMPOSER_ROOT_VERSION=dev-master
20+
- if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;
21+
- if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi;
22+
23+
script:
24+
- ./bin/phpunit --coverage-text

0 commit comments

Comments
 (0)