diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..75449ae --- /dev/null +++ b/.travis.yml @@ -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/ diff --git a/composer.json b/composer.json index ac78465..c179ee1 100644 --- a/composer.json +++ b/composer.json @@ -9,10 +9,10 @@ "API" ], "require": { - "php": ">=5.4,<8.0-DEV" + "php": ">=5.3,<8.0-DEV" }, "require-dev": { - "phpunit/phpunit": "4.7.6" + "phpunit/phpunit": "^4.8" }, "config": { "bin-dir": "bin"