mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 23:56:12 +01:00
[TASK] Install typo3/cms on Travis (#3)
Also drop the composer validation CI step and clean up the branch alias.
This commit is contained in:
parent
873f97e0a2
commit
2146fb2cdd
2 changed files with 20 additions and 15 deletions
16
.travis.yml
16
.travis.yml
|
@ -6,6 +6,13 @@ php:
|
||||||
- 7.0
|
- 7.0
|
||||||
- 7.1
|
- 7.1
|
||||||
|
|
||||||
|
env:
|
||||||
|
- TYPO3_VERSION="^7.6"
|
||||||
|
- TYPO3_VERSION="^8.7"
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
exclude:
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- .Build/vendor
|
- .Build/vendor
|
||||||
|
@ -15,14 +22,11 @@ before_install:
|
||||||
- phpenv config-rm xdebug.ini
|
- phpenv config-rm xdebug.ini
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- composer install
|
- composer require-typo3-version "$TYPO3_VERSION"
|
||||||
|
- git checkout .
|
||||||
|
- export TYPO3_PATH_ROOT=$PWD/.Build/public
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- >
|
|
||||||
echo;
|
|
||||||
echo "Validating the composer.json";
|
|
||||||
composer validate --no-check-all --no-check-lock --strict;
|
|
||||||
|
|
||||||
- >
|
- >
|
||||||
echo;
|
echo;
|
||||||
echo "Linting all PHP files";
|
echo "Linting all PHP files";
|
||||||
|
|
|
@ -27,11 +27,13 @@
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "~7.0.0 || ~7.1.0 || ~7.2.0",
|
"php": "~7.0.0 || ~7.1.0 || ~7.2.0",
|
||||||
"typo3/cms-core": "^7.6 || ^8.7"
|
"typo3/cms-core": "^7.6 || ^8.7",
|
||||||
|
"typo3/cms-fluid": "^7.6 || ^8.7",
|
||||||
|
"typo3/cms-frontend": "^7.6 || ^8.7"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"namelesscoder/typo3-repository-client": "^1.2.0",
|
|
||||||
"nimut/testing-framework": "^2.0.0",
|
"nimut/testing-framework": "^2.0.0",
|
||||||
|
"helhum/typo3-composer-setup": "^0.5.1",
|
||||||
"phpunit/phpunit": "^5.7.0",
|
"phpunit/phpunit": "^5.7.0",
|
||||||
"mikey179/vfsStream": "^1.6.0",
|
"mikey179/vfsStream": "^1.6.0",
|
||||||
"roave/security-advisories": "dev-master"
|
"roave/security-advisories": "dev-master"
|
||||||
|
@ -57,22 +59,21 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"config": {
|
"config": {
|
||||||
"vendor-dir": ".Build/vendor",
|
"vendor-dir": ".Build/vendor"
|
||||||
"bin-dir": ".Build/bin"
|
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"post-autoload-dump": [
|
"require-typo3-version": [
|
||||||
"mkdir -p .Build/Web/typo3conf/ext/",
|
"@php -r '$conf=json_decode(file_get_contents(__DIR__.\"/composer.json\"),true);$conf[\"require\"][\"typo3/cms-core\"]=$_SERVER[\"argv\"][1];file_put_contents(__DIR__.\"/composer.json\",json_encode($conf,JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT).chr(10));'",
|
||||||
"[ -L .Build/Web/typo3conf/ext/tea ]|| ln -snvf ../../../../. .Build/Web/typo3conf/ext/tea"
|
"@composer install"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "2.x-dev"
|
"dev-master": "2.0.x-dev"
|
||||||
},
|
},
|
||||||
"typo3/cms": {
|
"typo3/cms": {
|
||||||
"cms-package-dir": "{$vendor-dir}/typo3/cms",
|
"cms-package-dir": "{$vendor-dir}/typo3/cms",
|
||||||
"web-dir": ".Build/Web"
|
"web-dir": ".Build/public"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue