Skip to content

Commit 944c99b

Browse files
committed
General: Test on new PHP versions too
1 parent ed77b5d commit 944c99b

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@ language: php
22
php:
33
- '5.6'
44
- '7.0'
5+
- '7.1'
6+
- '7.2'
7+
- nightly
58
before_script:
69
- composer -n install
7-
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then pecl install runkit; fi
10+
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then pecl install runkit; else pecl install uopz; fi
811
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.6" ]]; then echo "runkit.internal_override=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
9-
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.0" ]]; then pecl install uopz; fi
1012
- export PATH=$PATH:$PWD
1113
script: vendor/bin/phpunit --configuration tests/phpunit.xml
1214
before_deploy:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "smillerdev/phpdraft",
33
"description": "This is a parser for API Blueprint files in PHP.",
4-
"minimum-stability": "dev",
4+
"minimum-stability": "stable",
55
"license": "GPL-3.0",
66
"authors": [
77
{

0 commit comments

Comments
 (0)