Skip to content

Commit 7417955

Browse files
authored
Merge pull request facebookarchive#813 from yguedidi/php7
PHP 7.1
2 parents 2b444c2 + 8cb2ded commit 7417955

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.travis.yml

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

3-
php:
4-
- 5.6
5-
- 7.0
6-
- 7.1
7-
83
sudo: false
94

105
cache:
@@ -13,6 +8,7 @@ cache:
138

149
matrix:
1510
include:
11+
- php: 7.1
1612
- php: hhvm
1713
dist: trusty
1814

@@ -23,6 +19,9 @@ install:
2319
- travis_retry composer require --dev --no-update squizlabs/php_codesniffer
2420
- travis_retry composer install --prefer-dist --no-interaction
2521

22+
before_script:
23+
- if [[ $TRAVIS_PHP_VERSION = hhvm ]]; then echo hhvm.php7.all=1 >> /etc/hhvm/php.ini; fi
24+
2625
script:
2726
- vendor/bin/phpcs
2827
- vendor/bin/phpunit --coverage-text --exclude-group integration

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
"sort-packages": true
1616
},
1717
"require": {
18-
"php": "^5.6 || ^7.0",
19-
"paragonie/random_compat": "^2.0"
18+
"php": "^7.1"
2019
},
2120
"require-dev": {
2221
"guzzlehttp/guzzle": "~5.0",

0 commit comments

Comments
 (0)