From 5e7af0dc6a4d227ae7c6fd701bf6660e26376d52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20HULARD?= Date: Mon, 27 Feb 2017 14:25:46 +0100 Subject: [PATCH] Move to Atoum 3.0 and enable PHP7.1 support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For the moment prefer-lowest is disable on PHP7.1 because atoum 2.8 Is not compatible with this version… --- .travis.yml | 4 ++++ composer.json | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e442eba..d10ae36 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ php: - 5.5 - 5.6 - 7.0 + - 7.1 - nightly - hhvm - hhvm-nightly @@ -14,6 +15,9 @@ env: - COMPOSER_PREFER="--prefer-lowest" matrix: + exclude: + - php: 7.1 + env: COMPOSER_PREFER="--prefer-lowest" allow_failures: - php: nightly - php: hhvm diff --git a/composer.json b/composer.json index 988d7fc..ef3f176 100644 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ } ], "require": { - "atoum/atoum": "^2.8" + "atoum/atoum": "^2.8 || ^3.0" }, "require-dev": { "atoum/praspel-extension": "~0.16", @@ -23,5 +23,10 @@ "mageekguy\\atoum\\xml\\": "classes" }, "files": ["autoloader.php"] + }, + "scripts": { + "test": "atoum --test-ext", + "cbf": "phpcbf --standard=phpcs.xml .", + "cs": "phpcs --standard=phpcs.xml ." } }