Skip to content

Commit 77923be

Browse files
committed
Require PHP 7.1+
1 parent c6ee417 commit 77923be

File tree

2 files changed

+40
-40
lines changed

2 files changed

+40
-40
lines changed

.travis.yml

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
1-
language: php
2-
3-
sudo: false
4-
5-
cache:
6-
directories:
7-
- $HOME/.composer/cache
8-
9-
env: # intentionally blank
10-
11-
php:
12-
- 7.0
13-
- 7.1
14-
15-
matrix:
16-
fast_finish: true
17-
include:
18-
- php: 7.1
19-
env: COVERAGE="1"
20-
allow_failures:
21-
- php: 7.1
22-
env: COVERAGE="1"
23-
24-
install:
25-
- travis_retry composer install --no-interaction --prefer-dist
26-
27-
script:
28-
- >
29-
if [ "$COVERAGE" != "1" ]; then
30-
phpenv config-rm xdebug.ini
31-
&& composer check; fi
32-
- if [ "$COVERAGE" == "1" ]; then ./vendor/bin/phpunit --coverage-clover=./coverage.xml; fi
33-
34-
after_success:
35-
- >
36-
if [ $COVERAGE == "1" ]; then
37-
wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
38-
&& php ./coveralls.phar --verbose
39-
|| true; fi
1+
language: php
2+
3+
sudo: false
4+
5+
cache:
6+
directories:
7+
- $HOME/.composer/cache
8+
9+
env: # intentionally blank
10+
11+
php:
12+
- 7.1
13+
- 7.2
14+
15+
matrix:
16+
fast_finish: true
17+
include:
18+
- php: 7.2
19+
env: COVERAGE="1"
20+
allow_failures:
21+
- php: 7.2
22+
env: COVERAGE="1"
23+
24+
install:
25+
- travis_retry composer install --no-interaction --prefer-dist
26+
27+
script:
28+
- >
29+
if [ "$COVERAGE" != "1" ]; then
30+
phpenv config-rm xdebug.ini
31+
&& composer check; fi
32+
- if [ "$COVERAGE" == "1" ]; then ./vendor/bin/phpunit --coverage-clover=./coverage.xml; fi
33+
34+
after_success:
35+
- >
36+
if [ $COVERAGE == "1" ]; then
37+
wget https://github.com/satooshi/php-coveralls/releases/download/v1.0.1/coveralls.phar
38+
&& php ./coveralls.phar --verbose
39+
|| true; fi

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^7.0"
14+
"php": "^7.1"
1515
},
1616
"require-dev": {
1717
"jakub-onderka/php-parallel-lint": "^0.9.2",

0 commit comments

Comments
 (0)