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:
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 @@
*~ /.Build/*
*.bak
.Build/*
*.idea *.idea
*.project /composer.lock
*.swp /nbproject
.buildpath
.cache
.project
.session
.settings
.TemporaryItems
.webprj
composer.lock
nbproject

View file

@ -2,27 +2,21 @@ sudo: false
language: php language: php
php:
- 7.0
- 7.1
- 7.2
cache: cache:
directories: directories:
- vendor - .Build/vendor
- $HOME/.composer/cache - $HOME/.composer/cache
matrix: before_install:
include: - phpenv config-rm xdebug.ini
- php: 7.0
- php: 7.1
- php: 7.2
install: install:
- composer 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: script:
# Run PHP lint on all PHP files. # Run PHP lint on all PHP files.