Trying out all the versions of PHP on travis

This commit is contained in:
Oliver Forral 2015-10-17 08:24:19 -07:00
parent 197c2d3532
commit c25eadd312
2 changed files with 18 additions and 2 deletions

16
.travis.yml Normal file
View File

@ -0,0 +1,16 @@
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- nightly
- hhvm
install:
- composer install --prefer-dist
script:
- ./bin/phpunit tests/

View File

@ -9,10 +9,10 @@
"API" "API"
], ],
"require": { "require": {
"php": ">=5.4,<8.0-DEV" "php": ">=5.3,<8.0-DEV"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "4.7.6" "phpunit/phpunit": "^4.8"
}, },
"config": { "config": {
"bin-dir": "bin" "bin-dir": "bin"