mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-25 10:36:14 +01:00
[TASK] Configure Composer caching and Xdebug
This commit is contained in:
parent
99277a3cb4
commit
fa5740c3cc
2 changed files with 12 additions and 29 deletions
17
.gitignore
vendored
17
.gitignore
vendored
|
@ -1,15 +1,4 @@
|
|||
*~
|
||||
*.bak
|
||||
.Build/*
|
||||
/.Build/*
|
||||
*.idea
|
||||
*.project
|
||||
*.swp
|
||||
.buildpath
|
||||
.cache
|
||||
.project
|
||||
.session
|
||||
.settings
|
||||
.TemporaryItems
|
||||
.webprj
|
||||
composer.lock
|
||||
nbproject
|
||||
/composer.lock
|
||||
/nbproject
|
||||
|
|
22
.travis.yml
22
.travis.yml
|
@ -2,28 +2,22 @@ sudo: false
|
|||
|
||||
language: php
|
||||
|
||||
php:
|
||||
- 7.0
|
||||
- 7.1
|
||||
- 7.2
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- vendor
|
||||
- .Build/vendor
|
||||
- $HOME/.composer/cache
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- php: 7.0
|
||||
- php: 7.1
|
||||
- php: 7.2
|
||||
before_install:
|
||||
- phpenv config-rm xdebug.ini
|
||||
|
||||
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