From 425c0ad517203e54fabb03c412b638e261df6945 Mon Sep 17 00:00:00 2001 From: Michael Moravec Date: Sun, 26 Aug 2018 22:04:27 +0200 Subject: [PATCH] CI: Test against PHP 7.3 on Travis --- .travis.yml | 126 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 125 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 461a52b872f..33df315bc75 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ cache: php: - 7.1 - 7.2 + - 7.3 - nightly env: @@ -88,6 +89,12 @@ jobs: sudo: required before_script: - bash ./tests/travis/install-mysql-5.7.sh + - stage: Test + php: 7.3 + env: DB=mysql MYSQL_VERSION=5.7 + sudo: required + before_script: + - bash ./tests/travis/install-mysql-5.7.sh - stage: Test php: nightly env: DB=mysql MYSQL_VERSION=5.7 @@ -107,6 +114,12 @@ jobs: sudo: required before_script: - bash ./tests/travis/install-mysql-5.7.sh + - stage: Test + php: 7.3 + env: DB=mysqli MYSQL_VERSION=5.7 + sudo: required + before_script: + - bash ./tests/travis/install-mysql-5.7.sh - stage: Test php: nightly env: DB=mysqli MYSQL_VERSION=5.7 @@ -124,6 +137,11 @@ jobs: env: DB=mariadb MARIADB_VERSION=10.0 addons: mariadb: 10.0 + - stage: Test + php: 7.3 + env: DB=mariadb MARIADB_VERSION=10.0 + addons: + mariadb: 10.0 - stage: Test php: nightly env: DB=mariadb MARIADB_VERSION=10.0 @@ -140,6 +158,11 @@ jobs: env: DB=mariadb MARIADB_VERSION=10.1 addons: mariadb: 10.1 + - stage: Test + php: 7.3 + env: DB=mariadb MARIADB_VERSION=10.1 + addons: + mariadb: 10.1 - stage: Test php: nightly env: DB=mariadb MARIADB_VERSION=10.1 @@ -156,6 +179,11 @@ jobs: env: DB=mariadb MARIADB_VERSION=10.2 addons: mariadb: 10.2 + - stage: Test + php: 7.3 + env: DB=mariadb MARIADB_VERSION=10.2 + addons: + mariadb: 10.2 - stage: Test php: nightly env: DB=mariadb MARIADB_VERSION=10.2 @@ -172,6 +200,11 @@ jobs: env: DB=mariadb.mysqli MARIADB_VERSION=10.2 addons: mariadb: 10.2 + - stage: Test + php: 7.3 + env: DB=mariadb.mysqli MARIADB_VERSION=10.2 + addons: + mariadb: 10.2 - stage: Test php: nightly env: DB=mariadb.mysqli MARIADB_VERSION=10.2 @@ -184,11 +217,22 @@ jobs: addons: mariadb: 10.3 + - stage: Test + php: 7.3 + env: DB=mariadb MARIADB_VERSION=10.3 + addons: + mariadb: 10.3 + - stage: Test php: 7.2 env: DB=mariadb.mysqli MARIADB_VERSION=10.3 addons: mariadb: 10.3 + - stage: Test + php: 7.3 + env: DB=mariadb.mysqli MARIADB_VERSION=10.3 + addons: + mariadb: 10.3 - stage: Test php: 7.1 @@ -204,6 +248,13 @@ jobs: - postgresql addons: postgresql: "9.2" + - stage: Test + php: 7.3 + env: DB=pgsql POSTGRESQL_VERSION=9.2 + services: + - postgresql + addons: + postgresql: "9.2" - stage: Test php: nightly env: DB=pgsql POSTGRESQL_VERSION=9.2 @@ -226,6 +277,13 @@ jobs: - postgresql addons: postgresql: "9.3" + - stage: Test + php: 7.3 + env: DB=pgsql POSTGRESQL_VERSION=9.3 + services: + - postgresql + addons: + postgresql: "9.3" - stage: Test php: nightly env: DB=pgsql POSTGRESQL_VERSION=9.3 @@ -248,6 +306,13 @@ jobs: - postgresql addons: postgresql: "9.4" + - stage: Test + php: 7.3 + env: DB=pgsql POSTGRESQL_VERSION=9.4 + services: + - postgresql + addons: + postgresql: "9.4" - stage: Test php: nightly env: DB=pgsql POSTGRESQL_VERSION=9.4 @@ -270,6 +335,13 @@ jobs: - postgresql addons: postgresql: "9.5" + - stage: Test + php: 7.3 + env: DB=pgsql POSTGRESQL_VERSION=9.5 + services: + - postgresql + addons: + postgresql: "9.5" - stage: Test php: nightly env: DB=pgsql POSTGRESQL_VERSION=9.5 @@ -292,6 +364,13 @@ jobs: - postgresql addons: postgresql: "9.6" + - stage: Test + php: 7.3 + env: DB=pgsql POSTGRESQL_VERSION=9.6 + services: + - postgresql + addons: + postgresql: "9.6" - stage: Test php: nightly env: DB=pgsql POSTGRESQL_VERSION=9.6 @@ -320,6 +399,16 @@ jobs: postgresql: "9.6" before_script: - bash ./tests/travis/install-postgres-10.sh + - stage: Test + php: 7.3 + env: DB=pgsql POSTGRESQL_VERSION=10.0 + sudo: required + services: + - postgresql + addons: + postgresql: "9.6" + before_script: + - bash ./tests/travis/install-postgres-10.sh - stage: Test php: nightly env: DB=pgsql POSTGRESQL_VERSION=10.0 @@ -347,6 +436,14 @@ jobs: - docker before_script: - bash ./tests/travis/install-postgres-11.sh + - stage: Test + php: 7.3 + env: DB=pgsql POSTGRESQL_VERSION=11.0 + sudo: required + services: + - docker + before_script: + - bash ./tests/travis/install-postgres-11.sh - stage: Test php: nightly env: DB=pgsql POSTGRESQL_VERSION=11.0 @@ -373,6 +470,15 @@ jobs: before_script: - bash ./tests/travis/install-mssql-$DB.sh - bash ./tests/travis/install-mssql.sh + - stage: Test + php: 7.3 + env: DB=sqlsrv + sudo: required + services: + - docker + before_script: + - bash ./tests/travis/install-mssql-$DB.sh + - bash ./tests/travis/install-mssql.sh - stage: Test php: 7.1 @@ -392,6 +498,15 @@ jobs: before_script: - bash ./tests/travis/install-mssql-$DB.sh - bash ./tests/travis/install-mssql.sh + - stage: Test + php: 7.3 + env: DB=pdo_sqlsrv + sudo: required + services: + - docker + before_script: + - bash ./tests/travis/install-mssql-$DB.sh + - bash ./tests/travis/install-mssql.sh - stage: Test env: DB=ibm_db2 COVERAGE=yes @@ -410,6 +525,15 @@ jobs: before_script: - bash ./tests/travis/install-db2.sh - bash ./tests/travis/install-db2-$DB.sh + - stage: Test + php: 7.3 + env: DB=ibm_db2 + sudo: required + services: + - docker + before_script: + - bash ./tests/travis/install-db2.sh + - bash ./tests/travis/install-db2-$DB.sh - stage: Test php: 7.1 @@ -419,7 +543,7 @@ jobs: - stage: Test if: type = cron - php: 7.2 + php: 7.3 env: DB=sqlite DEPENDENCIES=dev install: - composer config minimum-stability dev