-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
36 lines (27 loc) · 800 Bytes
/
.travis.yml
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
32
33
34
35
36
language: php
php:
- 7.1
- nightly
env:
global:
- PATH="$HOME/.composer/vendor/bin:$PATH"
matrix:
fast_finish: true
include:
- php: 7.1
env: COMPOSER_FLAGS="--prefer-lowest"
allow_failures:
- php: nightly
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
install:
- composer global require satooshi/php-coveralls:@stable --no-update
- composer global update --prefer-dist --no-interaction
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
before_script:
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "zend_extension=xdebug.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;
script: phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml ${PHPUNIT_OPTION}
after_script:
- coveralls -v