mirror of
https://github.com/saccas/mjml-typo3.git
synced 2024-11-15 05:56:10 +01:00
[TASK] Raise compatibility to TYPO3 9
This commit is contained in:
parent
f6604e1917
commit
3025201ecd
3 changed files with 17 additions and 11 deletions
14
.travis.yml
14
.travis.yml
|
@ -13,7 +13,7 @@ before_install:
|
||||||
- if php -i | grep -q xdebug; then phpenv config-rm xdebug.ini; fi
|
- if php -i | grep -q xdebug; then phpenv config-rm xdebug.ini; fi
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- composer require typo3/cms="$TYPO3_VERSION"
|
- composer require typo3/minimal="$TYPO3_VERSION"
|
||||||
- composer install
|
- composer install
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -23,10 +23,16 @@ jobs:
|
||||||
env: TYPO3_VERSION=^8.7
|
env: TYPO3_VERSION=^8.7
|
||||||
- php: 7.2
|
- php: 7.2
|
||||||
env: TYPO3_VERSION=^8.7
|
env: TYPO3_VERSION=^8.7
|
||||||
|
- php: 7.3
|
||||||
|
env: TYPO3_VERSION=^8.7
|
||||||
|
- php: 7.2
|
||||||
|
env: TYPO3_VERSION=^9.5
|
||||||
|
- php: 7.3
|
||||||
|
env: TYPO3_VERSION=^9.5
|
||||||
|
|
||||||
- stage: test
|
- stage: test
|
||||||
php: 7.1
|
php: 7.2
|
||||||
env: TYPO3_VERSION=^8.7
|
env: TYPO3_VERSION=^9.5
|
||||||
script:
|
script:
|
||||||
- composer lint
|
- composer lint
|
||||||
- composer cgl
|
- composer cgl
|
||||||
|
@ -34,7 +40,7 @@ jobs:
|
||||||
|
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
if: tag IS present
|
if: tag IS present
|
||||||
php: 7.1
|
php: 7.2
|
||||||
before_install: skip
|
before_install: skip
|
||||||
install: skip
|
install: skip
|
||||||
before_script: skip
|
before_script: skip
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"description": "Mjml view using mjml over npm",
|
"description": "Mjml view using mjml over npm",
|
||||||
"type": "typo3-cms-extension",
|
"type": "typo3-cms-extension",
|
||||||
"homepage": "https://mjml.io",
|
"homepage": "https://mjml.io",
|
||||||
"license": ["GPL-2.0+"],
|
"license": ["GPL-2.0-or-later"],
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"Saccas\\Mjml\\": "Classes/"
|
"Saccas\\Mjml\\": "Classes/"
|
||||||
|
@ -15,13 +15,13 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=7.0.0 <=7.2.99",
|
"php": ">=7.1.0 <=7.3.99",
|
||||||
"typo3/cms-core": "^8.7.0",
|
"typo3/cms-core": "^8.7.0 || ^9.5.0",
|
||||||
"typo3/cms-form": "^8.7.0"
|
"typo3/cms-form": "^8.7.0 || ^9.5.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"squizlabs/php_codesniffer": "^3.2.0",
|
"squizlabs/php_codesniffer": "^3.2.0",
|
||||||
"typo3/cms": "^8.7.0",
|
"typo3/cms-core": "^8.7.0 || ^9.5.0",
|
||||||
"typo3/testing-framework": "^1.2.2"
|
"typo3/testing-framework": "^1.2.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -17,8 +17,8 @@ $EM_CONF[$_EXTKEY] = [
|
||||||
],
|
],
|
||||||
'constraints' => [
|
'constraints' => [
|
||||||
'depends' => [
|
'depends' => [
|
||||||
'php' => '7.1.0-7.2.99',
|
'php' => '7.1.0-7.3.99',
|
||||||
'typo3' => '8.7.0-8.7.99',
|
'typo3' => '8.7.0-9.5.99',
|
||||||
'extbase' => '',
|
'extbase' => '',
|
||||||
],
|
],
|
||||||
'conflicts' => [
|
'conflicts' => [
|
||||||
|
|
Loading…
Reference in a new issue