mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-23 00:16:12 +01:00

[TASK] Run the Travis builds with latest and oldest dependencies (#13)

This commit is contained in:
Oliver Klee 2018-05-25 17:27:48 +02:00 committed by GitHub
parent a32cce2dff
commit 2efde32056
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,8 +11,10 @@ env:
- typo3DatabaseHost=localhost typo3DatabaseName=typo3 typo3DatabaseUsername=travis typo3DatabasePassword='' - typo3DatabaseHost=localhost typo3DatabaseName=typo3 typo3DatabaseUsername=travis typo3DatabasePassword=''
- TYPO3_PATH_ROOT=$PWD/.Build/public - TYPO3_PATH_ROOT=$PWD/.Build/public
matrix: matrix:
- TYPO3_VERSION="^7.6" - TYPO3_VERSION="^7.6" DEPENDENCIES=latest
- TYPO3_VERSION="^8.7" - TYPO3_VERSION="^7.6" DEPENDENCIES=oldest
- TYPO3_VERSION="^8.7" DEPENDENCIES=latest
- TYPO3_VERSION="^8.7" DEPENDENCIES=oldest
matrix: matrix:
exclude: exclude:
@ -26,8 +28,22 @@ before_install:
- phpenv config-rm xdebug.ini - phpenv config-rm xdebug.ini
install: install:
- composer require-typo3-version "$TYPO3_VERSION" - >
- git checkout . composer require-typo3-version "$TYPO3_VERSION";
- >
echo;
if [ "$DEPENDENCIES" = "latest" ]; then
echo "Installing the latest dependencies";
composer update --with-dependencies --prefer-stable --prefer-dist;
else
echo "Installing the lowest dependencies";
composer update --with-dependencies --prefer-stable --prefer-dist --prefer-lowest;
fi;
composer show;
- >
echo;
echo "Restoring the composer.json";
git checkout .;
script: script:
- > - >