mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 17:36:12 +01:00
[TASK] Add a basic Travis configuration
This commit is contained in:
parent
77674ae9c6
commit
153f701d3d
1 changed files with 28 additions and 0 deletions
28
.travis.yml
Normal file
28
.travis.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
sudo: false
|
||||
|
||||
language: php
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- vendor
|
||||
- $HOME/.composer/cache
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- php: 7.0
|
||||
- php: 7.1
|
||||
|
||||
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
|
Loading…
Reference in a new issue