-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
42 lines (36 loc) · 1 KB
/
.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
language: php
cache:
directories:
- $HOME/.composer/cache
sudo: false
install:
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
before_script: echo 'date.timezone = "Europe/Zurich"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
script: vendor/bin/phpunit --verbose --coverage-text
matrix:
include:
- php: 5.3
env: setup=lowest
- php: 5.3
env: setup=stable
- php: 5.4
env: setup=lowest
- php: 5.4
env: setup=stable
- php: 5.5
env: setup=lowest
- php: 5.5
env: setup=stable
- php: 5.6
env: setup=lowest
- php: 5.6
env: setup=stable
- php: 7.0
env: setup=lowest
- php: 7.0
env: setup=stable
allow_failures:
- php: 5.3 # unsupported
- php: 5.4 # unsupported
- php: 5.5 # unsupported