Commit 56845ae9 authored by Benjamin Morel's avatar Benjamin Morel

Reorganize Travix build matrix

parent 1c680e19
...@@ -7,17 +7,6 @@ cache: ...@@ -7,17 +7,6 @@ cache:
- vendor - vendor
- $HOME/.composer/cache - $HOME/.composer/cache
php:
- 7.1
- 7.2
- 7.3
- nightly
env:
- DB=sqlite
- DB=mysql
- DB=mysqli
before_install: before_install:
- | - |
if [ "x$COVERAGE" != "xyes" ]; then if [ "x$COVERAGE" != "xyes" ]; then
...@@ -54,47 +43,8 @@ after_script: ...@@ -54,47 +43,8 @@ after_script:
jobs: jobs:
allow_failures: allow_failures:
- php: nightly - php: nightly
- env: DB=pgsql POSTGRESQL_VERSION=11.0
exclude:
- php: 7.1
env: DB=sqlite
- php: 7.1
env: DB=mysql
- php: 7.1
env: DB=mysqli
- php: 7.2
env: DB=sqlite
- php: 7.2
env: DB=mysql
- php: 7.2
env: DB=mysqli
- php: 7.3
env: DB=mysql
- php: 7.3
env: DB=mysqli
- php: nightly
env: DB=mysql
- php: nightly
env: DB=mysqli
include: include:
- stage: Test
php: 7.1
env: DB=sqlite
- stage: Test
php: 7.2
env: DB=sqlite COVERAGE=yes
- stage: Test
php: 7.2
env: DB=mysql COVERAGE=yes
- stage: Test
php: 7.2
env: DB=mysqli COVERAGE=yes
- stage: Test - stage: Test
php: 7.1 php: 7.1
env: DB=mysql MYSQL_VERSION=5.7 env: DB=mysql MYSQL_VERSION=5.7
...@@ -102,133 +52,122 @@ jobs: ...@@ -102,133 +52,122 @@ jobs:
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.1
env: DB=mysql MYSQL_VERSION=5.7 COVERAGE=yes env: DB=mysqli MYSQL_VERSION=5.7
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.3 php: 7.1
env: DB=mysql MYSQL_VERSION=5.7 env: DB=mariadb MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test
php: 7.1
env: DB=mariadb.mysqli MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test
php: 7.1
env: DB=pgsql POSTGRESQL_VERSION=11.0
sudo: required sudo: required
services:
- docker
before_script: before_script:
- bash ./tests/travis/install-mysql-5.7.sh - bash ./tests/travis/install-postgres-11.sh
- stage: Test - stage: Test
php: nightly php: 7.1
env: DB=mysql MYSQL_VERSION=5.7 env: DB=sqlite
- stage: Test
php: 7.1
env: DB=sqlsrv
sudo: required sudo: required
services:
- docker
before_script: before_script:
- bash ./tests/travis/install-mysql-5.7.sh - bash ./tests/travis/install-mssql-sqlsrv.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: 7.1 php: 7.1
env: DB=mysqli MYSQL_VERSION=5.7 env: DB=pdo_sqlsrv
sudo: required sudo: required
services:
- docker
before_script: before_script:
- bash ./tests/travis/install-mysql-5.7.sh - bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: 7.2 php: 7.1
env: DB=mysqli MYSQL_VERSION=5.7 COVERAGE=yes env: DB=ibm_db2
sudo: required sudo: required
services:
- docker
before_script: before_script:
- bash ./tests/travis/install-mysql-5.7.sh - bash ./tests/travis/install-db2.sh
- bash ./tests/travis/install-db2-ibm_db2.sh
- stage: Test - stage: Test
php: 7.3 php: 7.1
env: DB=mysqli MYSQL_VERSION=5.7 env: DB=sqlite DEPENDENCIES=low
install:
- travis_retry composer update --prefer-dist --prefer-lowest
- stage: Test
php: 7.2
env: DB=mysql COVERAGE=yes
- stage: Test
php: 7.2
env: DB=mysql 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: nightly php: 7.2
env: DB=mysqli MYSQL_VERSION=5.7 env: DB=mysqli COVERAGE=yes
- stage: Test
php: 7.2
env: DB=mysqli 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.2
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.2
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.2
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
php: 7.2
env: DB=mariadb MARIADB_VERSION=10.3 COVERAGE=yes
addons:
mariadb: 10.3
- stage: Test - stage: Test
php: 7.2 php: 7.2
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.2
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.2
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
php: 7.1
env: DB=mariadb MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test
php: 7.2
env: DB=mariadb MARIADB_VERSION=10.3 COVERAGE=yes
addons:
mariadb: 10.3
- stage: Test
php: 7.3
env: DB=mariadb MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test
php: nightly
env: DB=mariadb MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test
php: 7.1
env: DB=mariadb.mysqli MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test - stage: Test
php: 7.2 php: 7.2
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
php: 7.3
env: DB=mariadb.mysqli MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test
php: nightly
env: DB=mariadb.mysqli MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test - stage: Test
php: 7.2 php: 7.2
env: DB=pgsql POSTGRESQL_VERSION=9.2 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=9.2 COVERAGE=yes
...@@ -236,7 +175,6 @@ jobs: ...@@ -236,7 +175,6 @@ jobs:
- postgresql - postgresql
addons: addons:
postgresql: "9.2" postgresql: "9.2"
- stage: Test - stage: Test
php: 7.2 php: 7.2
env: DB=pgsql POSTGRESQL_VERSION=9.3 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=9.3 COVERAGE=yes
...@@ -244,7 +182,6 @@ jobs: ...@@ -244,7 +182,6 @@ jobs:
- postgresql - postgresql
addons: addons:
postgresql: "9.3" postgresql: "9.3"
- stage: Test - stage: Test
php: 7.2 php: 7.2
env: DB=pgsql POSTGRESQL_VERSION=9.4 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=9.4 COVERAGE=yes
...@@ -252,7 +189,6 @@ jobs: ...@@ -252,7 +189,6 @@ jobs:
- postgresql - postgresql
addons: addons:
postgresql: "9.4" postgresql: "9.4"
- stage: Test - stage: Test
php: 7.2 php: 7.2
env: DB=pgsql POSTGRESQL_VERSION=9.5 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=9.5 COVERAGE=yes
...@@ -260,7 +196,6 @@ jobs: ...@@ -260,7 +196,6 @@ jobs:
- postgresql - postgresql
addons: addons:
postgresql: "9.5" postgresql: "9.5"
- stage: Test - stage: Test
php: 7.2 php: 7.2
env: DB=pgsql POSTGRESQL_VERSION=9.6 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=9.6 COVERAGE=yes
...@@ -268,7 +203,6 @@ jobs: ...@@ -268,7 +203,6 @@ jobs:
- postgresql - postgresql
addons: addons:
postgresql: "9.6" postgresql: "9.6"
- stage: Test - stage: Test
php: 7.2 php: 7.2
env: DB=pgsql POSTGRESQL_VERSION=10.0 COVERAGE=yes env: DB=pgsql POSTGRESQL_VERSION=10.0 COVERAGE=yes
...@@ -279,10 +213,9 @@ jobs: ...@@ -279,10 +213,9 @@ jobs:
postgresql: "9.6" postgresql: "9.6"
before_script: before_script:
- bash ./tests/travis/install-postgres-10.sh - bash ./tests/travis/install-postgres-10.sh
- stage: Test - stage: Test
php: 7.1 php: 7.2
env: DB=pgsql POSTGRESQL_VERSION=11.0 env: DB=pgsql POSTGRESQL_VERSION=11.0 COVERAGE=yes
sudo: required sudo: required
services: services:
- docker - docker
...@@ -290,127 +223,136 @@ jobs: ...@@ -290,127 +223,136 @@ jobs:
- bash ./tests/travis/install-postgres-11.sh - bash ./tests/travis/install-postgres-11.sh
- stage: Test - stage: Test
php: 7.2 php: 7.2
env: DB=pgsql POSTGRESQL_VERSION=11.0 COVERAGE=yes env: DB=sqlite COVERAGE=yes
- stage: Test
php: 7.2
env: DB=sqlsrv COVERAGE=yes
sudo: required sudo: required
services: services:
- docker - docker
before_script: before_script:
- bash ./tests/travis/install-postgres-11.sh - bash ./tests/travis/install-mssql-sqlsrv.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: 7.3 php: 7.2
env: DB=pgsql POSTGRESQL_VERSION=11.0 env: DB=pdo_sqlsrv COVERAGE=yes
sudo: required sudo: required
services: services:
- docker - docker
before_script: before_script:
- bash ./tests/travis/install-postgres-11.sh - bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: nightly php: 7.2
env: DB=pgsql POSTGRESQL_VERSION=11.0 env: DB=ibm_db2 COVERAGE=yes
sudo: required sudo: required
services: services:
- docker - docker
before_script: before_script:
- bash ./tests/travis/install-postgres-11.sh - bash ./tests/travis/install-db2.sh
- bash ./tests/travis/install-db2-ibm_db2.sh
- stage: Test - stage: Test
php: 7.1 php: 7.3
env: DB=sqlsrv env: DB=mysql MYSQL_VERSION=5.7
sudo: required sudo: required
services:
- docker
before_script: before_script:
- bash ./tests/travis/install-mssql-$DB.sh - bash ./tests/travis/install-mysql-5.7.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: 7.2 php: 7.3
env: DB=sqlsrv COVERAGE=yes env: DB=mysqli MYSQL_VERSION=5.7
sudo: required sudo: required
services:
- docker
before_script: before_script:
- bash ./tests/travis/install-mssql-$DB.sh - bash ./tests/travis/install-mysql-5.7.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: 7.3 php: 7.3
env: DB=sqlsrv 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 sudo: required
services: services:
- docker - docker
before_script: before_script:
- bash ./tests/travis/install-mssql-$DB.sh - bash ./tests/travis/install-postgres-11.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: nightly php: 7.3
env: DB=sqlite
- stage: Test
php: 7.3
env: DB=sqlsrv env: DB=sqlsrv
sudo: required sudo: required
services: services:
- docker - docker
before_script: before_script:
- bash ./tests/travis/install-mssql-$DB.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.1 php: 7.3
env: DB=pdo_sqlsrv env: DB=pdo_sqlsrv
sudo: required sudo: required
services: services:
- docker - docker
before_script: before_script:
- bash ./tests/travis/install-mssql-$DB.sh - bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
- bash ./tests/travis/install-mssql.sh - bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: 7.2 php: nightly
env: DB=pdo_sqlsrv COVERAGE=yes env: DB=mysql MYSQL_VERSION=5.7
sudo: required sudo: required
services:
- docker
before_script: before_script:
- bash ./tests/travis/install-mssql-$DB.sh - bash ./tests/travis/install-mysql-5.7.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: 7.3 php: nightly
env: DB=pdo_sqlsrv env: DB=mysqli MYSQL_VERSION=5.7
sudo: required sudo: required
services:
- docker
before_script: before_script:
- bash ./tests/travis/install-mssql-$DB.sh - bash ./tests/travis/install-mysql-5.7.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: nightly php: nightly
env: DB=pdo_sqlsrv env: DB=mariadb MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test
php: nightly
env: DB=mariadb.mysqli MARIADB_VERSION=10.3
addons:
mariadb: 10.3
- stage: Test
php: nightly
env: DB=pgsql POSTGRESQL_VERSION=11.0
sudo: required sudo: required
services: services:
- docker - docker
before_script: before_script:
- bash ./tests/travis/install-mssql-$DB.sh - bash ./tests/travis/install-postgres-11.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: 7.1 php: nightly
env: DB=ibm_db2 env: DB=sqlite
- stage: Test
php: nightly
env: DB=sqlsrv
sudo: required sudo: required
services: services:
- docker - docker
before_script: before_script:
- bash ./tests/travis/install-db2.sh - bash ./tests/travis/install-mssql-sqlsrv.sh
- bash ./tests/travis/install-db2-$DB.sh - bash ./tests/travis/install-mssql.sh
- stage: Test - stage: Test
php: 7.2 php: nightly
env: DB=ibm_db2 COVERAGE=yes env: DB=pdo_sqlsrv
sudo: required sudo: required
services: services:
- docker - docker
before_script: before_script:
- bash ./tests/travis/install-db2.sh - bash ./tests/travis/install-mssql-pdo_sqlsrv.sh
- bash ./tests/travis/install-db2-$DB.sh - bash ./tests/travis/install-mssql.sh
- stage: Test
php: 7.1
env: DB=sqlite DEPENDENCIES=low
install:
- travis_retry composer update --prefer-dist --prefer-lowest
- stage: Test - stage: Test
if: type = cron if: type = cron
......
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