blob: ed895e00fd1a5e3c72e494c7920b61b4f33b06d7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
## Non-sudo environments are faster
sudo: false
## Cache composer and vendor libraries
cache:
directories:
- vendor
- $HOME/.composer/cache
before_script:
- travis_retry composer config github-oauth.github.com "${GITHUB_OAUTH_TOKEN}"
- if [ -f "$HOME/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini" ]; then cp $HOME/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini /tmp/; phpenv config-rm xdebug.ini; fi
- travis_retry composer update
- if [ -f "/tmp/xdebug.ini" ]; then phpenv config-add /tmp/xdebug.ini; fi
script:
- vendor/bin/phpunit --coverage-clover tests/clover.xml
after_script:
- vendor/bin/coveralls -v
|