summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-07-10 14:42:43 +0100
committerGreg Roach <fisharebest@gmail.com>2016-07-10 14:43:00 +0100
commit00776af52dc5b647ae93fe1ba905065cc4bf59b8 (patch)
tree277793f502ead9b43bb74774e400d630fa8ee227 /.travis.yml
parent36abac2b80d1ea509313ae4a75e25778cf5a31cc (diff)
downloadwebtrees-00776af52dc5b647ae93fe1ba905065cc4bf59b8.tar.gz
webtrees-00776af52dc5b647ae93fe1ba905065cc4bf59b8.tar.bz2
webtrees-00776af52dc5b647ae93fe1ba905065cc4bf59b8.zip
Travis performance
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 8a8b64e72a..310f2e7c45 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,14 +12,18 @@ php:
## Non-sudo environments are faster
sudo: false
-## Cache composer bits
+## Cache composer and vendor libraries
cache:
directories:
+ - vendor
- $HOME/.composer/cache
before_script:
- travis_retry composer config github-oauth.github.com "${GITHUB_OAUTH_TOKEN}"
+ - cp $HOME/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini /tmp/
+ - phpenv config-rm xdebug.ini
- travis_retry composer update
+ - phpenv config-add /tmp/xdebug.ini
script:
- vendor/bin/phpunit --coverage-clover tests/clover.xml