mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-09-20 02:56:13 +02:00
tea/.travis.yml
2018-05-25 16:19:12 +02:00

51 lines
789 B
YAML

sudo: false
language: php
php:
- 7.0
- 7.1
env:
global:
- typo3DatabaseHost=localhost typo3DatabaseName=typo3 typo3DatabaseUsername=travis typo3DatabasePassword=''
- TYPO3_PATH_ROOT=$PWD/.Build/public
matrix:
- TYPO3_VERSION="^7.6"
- TYPO3_VERSION="^8.7"
matrix:
exclude:
cache:
directories:
- .Build/vendor
- $HOME/.composer/cache
before_install:
- phpenv config-rm xdebug.ini
install:
- composer require-typo3-version "$TYPO3_VERSION"
- git checkout .
script:
- >
echo;
echo "Linting all PHP files";
composer ci:php:lint;
- >
echo;
echo "Linting all TypoScript files";
composer ci:ts:lint;
- >
echo;
echo "Running the unit tests";
composer ci:tests:unit;
- >
echo;
echo "Running the functional tests";
composer ci:tests:functional;