Commit 8384190d authored by Marco Pivetta's avatar Marco Pivetta Committed by GitHub

Merge pull request #2655 from photodude/patch-5

Simplify Travis Build matrix
parents eaafa67e c732edc2
......@@ -16,22 +16,17 @@ env:
- DB=sqlite
- DB=mysql
- DB=mysqli
- DB=mariadb MARIADB_VERSION=10.0
- DB=mariadb MARIADB_VERSION=10.1
- DB=pgsql POSTGRESQL_VERSION=9.2
- DB=pgsql POSTGRESQL_VERSION=9.3
- DB=pgsql POSTGRESQL_VERSION=9.4
- DB=pgsql POSTGRESQL_VERSION=9.5
- DB=pgsql POSTGRESQL_VERSION=9.6
matrix:
fast_finish: true
include:
- php: 7.0
env: DB=mariadb MARIADB_VERSION=10.0
addons:
mariadb: 10.0
- php: 7.1
env: DB=mariadb MARIADB_VERSION=10.0
addons:
mariadb: 10.0
- php: nightly
env: DB=mariadb MARIADB_VERSION=10.0
addons:
mariadb: 10.0
- php: hhvm
sudo: true
dist: trusty
......@@ -40,18 +35,6 @@ matrix:
mariadb: 10.0
env: DB=mariadb MARIADB_VERSION=10.0
- php: 7.0
env: DB=mariadb MARIADB_VERSION=10.1
addons:
mariadb: 10.1
- php: 7.1
env: DB=mariadb MARIADB_VERSION=10.1
addons:
mariadb: 10.1
- php: nightly
env: DB=mariadb MARIADB_VERSION=10.1
addons:
mariadb: 10.1
- php: hhvm
sudo: true
dist: trusty
......@@ -60,113 +43,6 @@ matrix:
mariadb: 10.1
env: DB=mariadb MARIADB_VERSION=10.1
- php: 7.0
addons:
postgresql: "9.2"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.2
- php: 7.1
addons:
postgresql: "9.2"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.2
- php: nightly
addons:
postgresql: "9.2"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.2
- php: 7.0
addons:
postgresql: "9.3"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.3
- php: 7.1
addons:
postgresql: "9.3"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.3
- php: nightly
addons:
postgresql: "9.3"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.3
- php: 7.0
addons:
postgresql: "9.4"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.4
- php: 7.1
addons:
postgresql: "9.4"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.4
- php: nightly
addons:
postgresql: "9.4"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.4
- php: 7.0
sudo: false
dist: trusty
addons:
postgresql: "9.5"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.5
- php: 7.1
sudo: false
dist: trusty
addons:
postgresql: "9.5"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.5
- php: nightly
sudo: false
dist: trusty
addons:
postgresql: "9.5"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.5
- php: 7.0
sudo: false
dist: trusty
addons:
postgresql: "9.6"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.6
- php: 7.1
sudo: false
dist: trusty
addons:
postgresql: "9.6"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.6
- php: nightly
sudo: false
dist: trusty
addons:
postgresql: "9.6"
services:
- postgresql
env: DB=pgsql POSTGRESQL_VERSION=9.6
- php: hhvm
sudo: true
dist: trusty
......@@ -245,20 +121,15 @@ matrix:
- php: hhvm
- php: nightly
env: DB=pgsql POSTGRESQL_VERSION=9.5
- php: 7.0
env: DB=pgsql POSTGRESQL_VERSION=9.5
- php: 7.1
env: DB=pgsql POSTGRESQL_VERSION=9.5
- php: nightly
env: DB=pgsql POSTGRESQL_VERSION=9.6
- php: 7.0
env: DB=pgsql POSTGRESQL_VERSION=9.6
- php: 7.1
env: DB=pgsql POSTGRESQL_VERSION=9.6
before_install:
# Force hhvm PHP 7 mode
- if [[ $TRAVIS_PHP_VERSION = hhv* ]]; then echo hhvm.php7.all=1 >> /etc/hhvm/php.ini; fi
- if [ '$DB' = 'pgsql' ]; then sudo apt-get install postgresql-$POSTGRESQL_VERSION; fi
- if [ '$DB' = 'mariadb' ]; then sudo add-apt-repository 'deb http://ftp.kaist.ac.kr/mariadb/repo/$MARIADB_VERSION/ubuntu precise main'; fi
- if [ '$DB' = 'mariadb' ]; then sudo apt-get install mariadb-server; fi
install:
- travis_retry composer install
......
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