Skip to content

Commit e2476c2

Browse files
committed
Ignore platform requirements on testing on PHP nightly builds
1 parent bd7e9f6 commit e2476c2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ matrix:
3636
env:
3737
- CODE_COVERAGE="0"
3838
- BENCHMARK="0"
39+
- IGNORE_PLATFORM_REQS="1"
3940
allow_failures:
4041
- php: nightly
4142

@@ -49,7 +50,11 @@ install:
4950
- if [ "${BENCHMARK}" == "0" ]; then
5051
composer remove --dev phpbench/phpbench --no-update;
5152
fi
52-
- composer install -n
53+
- if [ "${IGNORE_PLATFORM_REQS}" == "1" ]; then
54+
composer install -n --ignore-platform-reqs;
55+
else
56+
composer install -n;
57+
fi
5358

5459
script:
5560
- if [ "$CODE_COVERAGE" == "1" ]; then

0 commit comments

Comments
 (0)