Skip to content

Commit c7c1179

Browse files
committed
Only run unit tests on travis with --prefer-lowest once
Per the comments in the thread for #34, I don't like the idea of running tests twice for every PHP version (high and low dependency checks). It is comprehensive, but it seems a little redunant and wasteful. One check should be enough to pick up any general issues with the lowest version dependencies, though some problems may slip through because of this. I'm happy to have the test run take less time in exchange for this minor risk: > testing all combinations feels like testing that the dependencies work with the PHP versions they claim to, more than it is testing the code in this library.
1 parent 3e9e7e4 commit c7c1179

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.travis.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
language: php
22

3-
php:
4-
- 5.3
5-
- 5.4
6-
- 5.5
7-
- 5.6
8-
- 7.0
9-
10-
env:
11-
- COMPOSER_OPTS=""
12-
- COMPOSER_OPTS="--prefer-lowest"
3+
matrix:
4+
include:
5+
- php: 5.3
6+
- php: 5.4
7+
- php: 5.5
8+
env: COMPOSER_OPTS="--prefer-lowest"
9+
- php: 5.6
10+
- php: 7.0
11+
- php: hhvm
1312

1413
before_install:
1514
- sudo apt-get update -qq

0 commit comments

Comments
 (0)