mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 03:56:12 +01:00
tea/.travis.yml
Oliver Klee 99277a3cb4 [TASK] Allow PHP up to 7.2.x
Also remove the dependency on the phpunit extension.
2018-01-10 21:42:25 +01:00

29 lines
491 B
YAML

sudo: false
language: php
cache:
directories:
- vendor
- $HOME/.composer/cache
matrix:
include:
- php: 7.0
- php: 7.1
- php: 7.2
install:
- composer install
before_script:
- |
if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then
phpenv config-rm xdebug.ini
else
echo "xdebug.ini does not exist"
fi
script:
# Run PHP lint on all PHP files.
- find Classes/ Tests/ -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l