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