Unverified Commit 6a9edc9f authored by Sergei Morozov's avatar Sergei Morozov Committed by GitHub

Merge pull request #3475 from morozov/travis-php73-primary

Make PHP 7.3 the primary PHP version on Travis CI
parents d3d09e29 398c745f
...@@ -43,30 +43,85 @@ jobs: ...@@ -43,30 +43,85 @@ jobs:
include: include:
- stage: Smoke Testing - stage: Smoke Testing
php: 7.2 php: 7.3
env: DB=sqlite COVERAGE=yes env: DB=sqlite COVERAGE=yes
- stage: Smoke Testing - stage: Smoke Testing
php: 7.2 php: 7.3
env: PHPStan env: PHPStan
install: travis_retry composer install --prefer-dist install: travis_retry composer install --prefer-dist
script: vendor/bin/phpstan analyse script: vendor/bin/phpstan analyse
- stage: Smoke Testing - stage: Smoke Testing
php: 7.2 php: 7.3
env: PHP_CodeSniffer env: PHP_CodeSniffer
install: travis_retry composer install --prefer-dist install: travis_retry composer install --prefer-dist
script: vendor/bin/phpcs script: vendor/bin/phpcs
- stage: Test - stage: Test
php: 7.2 php: 7.2
env: DB=mysql COVERAGE=yes env: DB=mysql.docker MYSQL_VERSION=8.0
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-mysql-8.0.sh
- stage: Test
php: 7.2
env: DB=mysqli.docker MYSQL_VERSION=8.0
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-mysql-8.0.sh
- stage: Test - stage: Test
php: 7.2 php: 7.2
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.2
env: DB=pgsql POSTGRESQL_VERSION=11.0
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-postgres-11.sh
- stage: Test
php: 7.2
env: DB=sqlite
- stage: Test
php: 7.2
env: DB=sqlsrv
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-mssql-sqlsrv.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test
php: 7.2
env: DB=pdo_sqlsrv
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test
php: 7.3
env: DB=mysql COVERAGE=yes
- stage: Test
php: 7.3
env: DB=mysql.docker MYSQL_VERSION=5.7 COVERAGE=yes env: DB=mysql.docker MYSQL_VERSION=5.7 COVERAGE=yes
sudo: required sudo: required
before_script: before_script:
- bash ./tests/travis/install-mysql-5.7.sh - bash ./tests/travis/install-mysql-5.7.sh
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=mysql.docker MYSQL_VERSION=8.0 COVERAGE=yes env: DB=mysql.docker MYSQL_VERSION=8.0 COVERAGE=yes
sudo: required sudo: required
services: services:
...@@ -74,16 +129,16 @@ jobs: ...@@ -74,16 +129,16 @@ jobs:
before_script: before_script:
- bash ./tests/travis/install-mysql-8.0.sh - bash ./tests/travis/install-mysql-8.0.sh
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=mysqli COVERAGE=yes env: DB=mysqli COVERAGE=yes
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=mysqli.docker MYSQL_VERSION=5.7 COVERAGE=yes env: DB=mysqli.docker MYSQL_VERSION=5.7 COVERAGE=yes
sudo: required sudo: required
before_script: before_script:
- bash ./tests/travis/install-mysql-5.7.sh - bash ./tests/travis/install-mysql-5.7.sh
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=mysqli.docker MYSQL_VERSION=8.0 COVERAGE=yes env: DB=mysqli.docker MYSQL_VERSION=8.0 COVERAGE=yes
sudo: required sudo: required
services: services:
...@@ -91,82 +146,82 @@ jobs: ...@@ -91,82 +146,82 @@ jobs:
before_script: before_script:
- bash ./tests/travis/install-mysql-8.0.sh - bash ./tests/travis/install-mysql-8.0.sh
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=mariadb MARIADB_VERSION=10.0 COVERAGE=yes env: DB=mariadb MARIADB_VERSION=10.0 COVERAGE=yes
addons: addons:
mariadb: 10.0 mariadb: 10.0
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=mariadb MARIADB_VERSION=10.1 COVERAGE=yes env: DB=mariadb MARIADB_VERSION=10.1 COVERAGE=yes
addons: addons:
mariadb: 10.1 mariadb: 10.1
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=mariadb MARIADB_VERSION=10.2 COVERAGE=yes env: DB=mariadb MARIADB_VERSION=10.2 COVERAGE=yes
addons: addons:
mariadb: 10.2 mariadb: 10.2
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=mariadb MARIADB_VERSION=10.3 COVERAGE=yes env: DB=mariadb MARIADB_VERSION=10.3 COVERAGE=yes
addons: addons:
mariadb: 10.3 mariadb: 10.3
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=mariadb.mysqli MARIADB_VERSION=10.0 COVERAGE=yes env: DB=mariadb.mysqli MARIADB_VERSION=10.0 COVERAGE=yes
addons: addons:
mariadb: 10.0 mariadb: 10.0
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=mariadb.mysqli MARIADB_VERSION=10.1 COVERAGE=yes env: DB=mariadb.mysqli MARIADB_VERSION=10.1 COVERAGE=yes
addons: addons:
mariadb: 10.1 mariadb: 10.1
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=mariadb.mysqli MARIADB_VERSION=10.2 COVERAGE=yes env: DB=mariadb.mysqli MARIADB_VERSION=10.2 COVERAGE=yes
addons: addons:
mariadb: 10.2 mariadb: 10.2
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=mariadb.mysqli MARIADB_VERSION=10.3 COVERAGE=yes env: DB=mariadb.mysqli MARIADB_VERSION=10.3 COVERAGE=yes
addons: addons:
mariadb: 10.3 mariadb: 10.3
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=pgsql POSTGRESQL_VERSION=9.2 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=9.2 COVERAGE=yes
services: services:
- postgresql - postgresql
addons: addons:
postgresql: "9.2" postgresql: "9.2"
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=pgsql POSTGRESQL_VERSION=9.3 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=9.3 COVERAGE=yes
services: services:
- postgresql - postgresql
addons: addons:
postgresql: "9.3" postgresql: "9.3"
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=pgsql POSTGRESQL_VERSION=9.4 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=9.4 COVERAGE=yes
services: services:
- postgresql - postgresql
addons: addons:
postgresql: "9.4" postgresql: "9.4"
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=pgsql POSTGRESQL_VERSION=9.5 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=9.5 COVERAGE=yes
services: services:
- postgresql - postgresql
addons: addons:
postgresql: "9.5" postgresql: "9.5"
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=pgsql POSTGRESQL_VERSION=9.6 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=9.6 COVERAGE=yes
services: services:
- postgresql - postgresql
addons: addons:
postgresql: "9.6" postgresql: "9.6"
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=pgsql POSTGRESQL_VERSION=10.0 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=10.0 COVERAGE=yes
sudo: required sudo: required
services: services:
...@@ -176,7 +231,7 @@ jobs: ...@@ -176,7 +231,7 @@ jobs:
before_script: before_script:
- bash ./tests/travis/install-postgres-10.sh - bash ./tests/travis/install-postgres-10.sh
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=pgsql POSTGRESQL_VERSION=11.0 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=11.0 COVERAGE=yes
sudo: required sudo: required
services: services:
...@@ -184,7 +239,7 @@ jobs: ...@@ -184,7 +239,7 @@ jobs:
before_script: before_script:
- bash ./tests/travis/install-postgres-11.sh - bash ./tests/travis/install-postgres-11.sh
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=sqlsrv COVERAGE=yes env: DB=sqlsrv COVERAGE=yes
sudo: required sudo: required
services: services:
...@@ -193,7 +248,7 @@ jobs: ...@@ -193,7 +248,7 @@ jobs:
- bash ./tests/travis/install-mssql-sqlsrv.sh - bash ./tests/travis/install-mssql-sqlsrv.sh
- bash ./tests/travis/install-mssql.sh - bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=pdo_sqlsrv COVERAGE=yes env: DB=pdo_sqlsrv COVERAGE=yes
sudo: required sudo: required
services: services:
...@@ -211,65 +266,10 @@ jobs: ...@@ -211,65 +266,10 @@ jobs:
- bash ./tests/travis/install-db2.sh - bash ./tests/travis/install-db2.sh
- bash ./tests/travis/install-db2-ibm_db2.sh - bash ./tests/travis/install-db2-ibm_db2.sh
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=sqlite DEPENDENCIES=low env: DB=sqlite DEPENDENCIES=low
install: install:
- travis_retry composer update --prefer-dist --prefer-lowest - travis_retry composer update --prefer-dist --prefer-lowest
- stage: Test
php: 7.3
env: DB=mysql.docker MYSQL_VERSION=8.0
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-mysql-8.0.sh
- stage: Test
php: 7.3
env: DB=mysqli.docker MYSQL_VERSION=8.0
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-mysql-8.0.sh
- stage: Test
php: 7.3
env: DB=mariadb 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.3
env: DB=pgsql POSTGRESQL_VERSION=11.0
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-postgres-11.sh
- stage: Test
php: 7.3
env: DB=sqlite
- stage: Test
php: 7.3
env: DB=sqlsrv
sudo: required
services:
- docker
before_script:
- bash ./tests/travis/install-mssql-sqlsrv.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-pdo_sqlsrv.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: 7.4snapshot php: 7.4snapshot
env: DB=mysql.docker MYSQL_VERSION=8.0 env: DB=mysql.docker MYSQL_VERSION=8.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment