Unverified Commit 21708015 authored by Michael Moravec's avatar Michael Moravec Committed by Sergei Morozov

Require PHP 7.2, drop <7.2 in Composer & on CI

parent 3195492c
......@@ -3,7 +3,7 @@ build:
analysis:
environment:
php:
version: 7.1
version: 7.2
cache:
disabled: false
directories:
......
......@@ -8,7 +8,6 @@ cache:
- $HOME/.composer/cache
php:
- 7.1
- 7.2
- 7.3
- nightly
......@@ -57,11 +56,11 @@ jobs:
- env: DB=pgsql POSTGRESQL_VERSION=11.0
exclude:
- php: 7.1
- php: 7.2
env: DB=sqlite
- php: 7.1
- php: 7.2
env: DB=mysql
- php: 7.1
- php: 7.2
env: DB=mysqli
- php: 7.2
env: DB=sqlite
......@@ -79,10 +78,6 @@ jobs:
env: DB=mysqli
include:
- stage: Test
php: 7.1
env: DB=sqlite
- stage: Test
php: 7.2
env: DB=sqlite COVERAGE=yes
......@@ -95,12 +90,6 @@ jobs:
php: 7.2
env: DB=mysqli COVERAGE=yes
- stage: Test
php: 7.1
env: DB=mysql MYSQL_VERSION=5.7
sudo: required
before_script:
- bash ./tests/travis/install-mysql-5.7.sh
- stage: Test
php: 7.2
env: DB=mysql MYSQL_VERSION=5.7 COVERAGE=yes
......@@ -120,12 +109,6 @@ jobs:
before_script:
- bash ./tests/travis/install-mysql-5.7.sh
- stage: Test
php: 7.1
env: DB=mysqli MYSQL_VERSION=5.7
sudo: required
before_script:
- bash ./tests/travis/install-mysql-5.7.sh
- stage: Test
php: 7.2
env: DB=mysqli MYSQL_VERSION=5.7 COVERAGE=yes
......@@ -181,12 +164,6 @@ jobs:
addons:
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
......@@ -205,12 +182,6 @@ jobs:
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.2
env: DB=mariadb.mysqli MARIADB_VERSION=10.3 COVERAGE=yes
......@@ -280,14 +251,6 @@ jobs:
before_script:
- bash ./tests/travis/install-postgres-10.sh
- stage: Test
php: 7.1
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=pgsql POSTGRESQL_VERSION=11.0 COVERAGE=yes
......@@ -313,15 +276,6 @@ jobs:
before_script:
- bash ./tests/travis/install-postgres-11.sh
- stage: Test
php: 7.1
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.2
env: DB=sqlsrv COVERAGE=yes
......@@ -350,15 +304,6 @@ jobs:
- bash ./tests/travis/install-mssql-$DB.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test
php: 7.1
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
php: 7.2
env: DB=pdo_sqlsrv COVERAGE=yes
......@@ -387,15 +332,6 @@ jobs:
- bash ./tests/travis/install-mssql-$DB.sh
- bash ./tests/travis/install-mssql.sh
- stage: Test
php: 7.1
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.2
env: DB=ibm_db2 COVERAGE=yes
......@@ -406,12 +342,6 @@ jobs:
- bash ./tests/travis/install-db2.sh
- bash ./tests/travis/install-db2-$DB.sh
- stage: Test
php: 7.1
env: DB=sqlite DEPENDENCIES=low
install:
- travis_retry composer update --prefer-dist --prefer-lowest
- stage: Test
if: type = cron
php: 7.2
......
......@@ -21,7 +21,7 @@
{"name": "Jonathan Wage", "email": "jonwage@gmail.com"}
],
"require": {
"php": "^7.1",
"php": "^7.2",
"ext-pdo": "*",
"doctrine/cache": "^1.0",
"doctrine/event-manager": "^1.0"
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "1147a9427c03f98ca063806250633645",
"content-hash": "3ebc0109174963fe21391619cdae7254",
"packages": [
{
"name": "doctrine/cache",
......@@ -2959,7 +2959,7 @@
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
"php": "^7.1",
"php": "^7.2",
"ext-pdo": "*"
},
"platform-dev": []
......
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