Skip to content

Commit 52aa048

Browse files
committed
try another way to test php5.6
1 parent bd58d5d commit 52aa048

File tree

3 files changed

+292
-87
lines changed

3 files changed

+292
-87
lines changed

.travis.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
language: php
22

3-
php:
4-
- 5.6
5-
- 7.0
6-
- 7.1
3+
matrix:
4+
include:
5+
- php: 5.6
6+
env: WITH_LOWEST=true
7+
- php: 7.0
8+
- php: 7.1
9+
10+
before_install:
11+
- composer validate
712

813
install:
9-
- composer install --dev --no-interaction --prefer-source
14+
- if [[ "$WITH_LOWEST" == "true" ]]; then composer update --prefer-lowest; else composer install --prefer-source; fi
1015

1116
script:
1217
- composer cs
1318
- composer test
19+
20+
notifications:
21+
email: false

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"require-dev": {
37-
"phpunit/phpunit": "~4.8"
37+
"phpunit/phpunit": "^5.7.19"
3838
},
3939
"scripts": {
4040
"test": "phpunit",

0 commit comments

Comments
 (0)