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

[TASK] Configure Composer caching and Xdebug

This commit is contained in:
Oliver Klee 2018-01-10 22:23:45 +01:00
parent 99277a3cb4
commit fa5740c3cc
2 changed files with 12 additions and 29 deletions

17
.gitignore vendored
View file

@ -1,15 +1,4 @@
*~
*.bak
.Build/*
/.Build/*
*.idea
*.project
*.swp
.buildpath
.cache
.project
.session
.settings
.TemporaryItems
.webprj
composer.lock
nbproject
/composer.lock
/nbproject

View file

@ -2,27 +2,21 @@ 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
- composer install
script:
# Run PHP lint on all PHP files.