From 069bf40f3431570ffdf6458b1e94994d838412a4 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Thu, 26 Feb 2015 01:32:47 +0000 Subject: [PATCH] Test against php 7 --- .travis.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 452e0ffa3..0efc2f2fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,4 @@ -language: php +language: php php: - 5.4 @@ -13,11 +13,14 @@ env: matrix: - DB=MYSQL - DB=SQLITE - - DB=PGSQL + - DB=PGSQL matrix: allow_failures: - - php: hhvm-nightly + - php: hhvm + - php: 7.0 + - php: nightly + include: - php: 5.5 env: DB=MYSQL @@ -27,7 +30,11 @@ matrix: env: DB=MYSQL BEHAT_TEST=1 - php: 5.3 env: DB=MYSQL - - php: hhvm-nightly + - php: 7.0 + env: DB=MYSQL + - php: nightly + env: DB=MYSQL + - php: hhvm env: DB=MYSQL before_install: - sudo apt-get update -qq @@ -43,7 +50,7 @@ before_script: - php ~/travis-support/travis_setup_selenium.php --if-env BEHAT_TEST - php ~/travis-support/travis_setup_php54_webserver.php --if-env BEHAT_TEST -script: +script: - "if [ \"$BEHAT_TEST\" = \"\" ]; then vendor/bin/phpunit framework/tests; fi" - "if [ \"$BEHAT_TEST\" = \"1\" ]; then vendor/bin/behat @framework; fi"