Skip to content

Commit dd0e112

Browse files
William MARTINWilliam MARTIN
William MARTIN
authored and
William MARTIN
committed
Enable test with PHP-7.2 under travis
1 parent 5bfb990 commit dd0e112

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Diff for: .travis.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
language: php
22

3-
sudo: false
4-
dist: precise
5-
63
php:
74
- 5.6
85
- 7.0
96
- 7.1
7+
- 7.2
108

119
matrix:
1210
fast_finish: true
@@ -19,5 +17,5 @@ before_script:
1917
- echo 'extension = "mongodb.so"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
2018
- ./scripts/travis
2119
- composer install
22-
20+
2321
script: ./vendor/bin/phpunit

Diff for: scripts/travis

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ case "$TRAVIS_PHP_VERSION" in
2929
printf "yes\nyes\nno\nyes\n" | pecl install pecl_http-2.5.5
3030
;;
3131

32-
"7.0" | "7.1")
32+
"7.0" | "7.1""7.2")
3333
printf "yes\nyes\nno\nyes\n" | C_INCLUDE_PATH=/usr/include/gnutls pecl install pecl_http
3434
;;
3535

@@ -63,4 +63,3 @@ echo "============ php ini ============"
6363
php -ini
6464
echo "============ php exts ============"
6565
php -r '$exts = get_loaded_extensions(); foreach($exts as $ext){$v=phpversion($ext); echo "$ext = $v\n";}'
66-

0 commit comments

Comments
 (0)