Skip to content

Commit 1f89633

Browse files
Douglas Greenshieldsgsdevme
authored andcommitted
build: run CI against lowest dependencies
1 parent 0d27507 commit 1f89633

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.travis.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,19 @@ php:
66
- 7.3
77
- 7.4
88

9-
before_script: composer install --dev --prefer-source
9+
matrix:
10+
include:
11+
- php: 7.1
12+
env: deps=low
13+
14+
env:
15+
global:
16+
- deps=high
17+
18+
before_script:
19+
- if [ "$deps" = "high" ]; then composer install --dev --prefer-source; fi;
20+
- if [ "$deps" = "low" ]; then composer --prefer-lowest --prefer-stable --ignore-platform-reqs update; fi
21+
- if [ -f $HOME/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini ]; then phpenv config-rm xdebug.ini; fi
1022

1123
script:
1224
- vendor/bin/phpunit -v

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"symfony/console": "~2.1|~3.0",
2424
"guzzlehttp/guzzle": "~6.1",
2525
"phpunit/phpunit": "^7",
26-
"phpstan/phpstan": "^0.12"
26+
"phpstan/phpstan": "^0.12.5"
2727
},
2828
"suggest": {
2929
"symfony/console": "To use CLI OEmbed scripts.",

0 commit comments

Comments
 (0)