From c25eadd3122cb4b58c434846693629c6d87f5800 Mon Sep 17 00:00:00 2001 From: Oliver Forral Date: Sat, 17 Oct 2015 08:24:19 -0700 Subject: [PATCH] Trying out all the versions of PHP on travis --- .travis.yml | 16 ++++++++++++++++ composer.json | 4 ++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 .travis.yml 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"