From c25eadd3122cb4b58c434846693629c6d87f5800 Mon Sep 17 00:00:00 2001 From: Oliver Forral Date: Sat, 17 Oct 2015 08:24:19 -0700 Subject: [PATCH 1/2] 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" From d32d0b1304de61bf4058cd51029f1f32dc5707ca Mon Sep 17 00:00:00 2001 From: Oliver Forral Date: Sat, 17 Oct 2015 08:30:09 -0700 Subject: [PATCH 2/2] Removing 5.3 from travis configuration --- .travis.yml | 1 - composer.json | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 75449ae..b1c5bea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: php php: - - 5.3 - 5.4 - 5.5 - 5.6 diff --git a/composer.json b/composer.json index c179ee1..0ac139f 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "API" ], "require": { - "php": ">=5.3,<8.0-DEV" + "php": ">=5.4,<8.0-DEV" }, "require-dev": { "phpunit/phpunit": "^4.8"