forked from pcrov/JsonReader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (34 loc) · 880 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
37
38
39
40
41
42
43
language: php
php:
- 7
- 7.1
- 7.2
- 7.3
- 7.4
- nightly
matrix:
allow_failures:
- php: nightly
fast_finish: true
env:
- DEPS=lowest
- DEPS=highest
before_install:
- phpenv config-rm xdebug.ini || echo "xdebug not available"
install:
- if [ "$DEPS" = "lowest" ]; then
travis_retry composer update --no-interaction --prefer-source --prefer-lowest;
else
travis_retry composer update --no-interaction --prefer-source;
fi;
- composer show
before_script:
- echo 'memory_limit = -1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
script:
- phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
after_success:
- travis_retry composer require php-coveralls/php-coveralls
- travis_retry php vendor/bin/php-coveralls -v
cache:
directories:
- $HOME/.composer/cache