-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
45 lines (38 loc) · 961 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
44
45
sudo: false
language: php
cache:
directories:
- $HOME/.composer/cache
- $HOME/.local
matrix:
fast_finish: true
include:
- php: 5.5
env: ZF_VERSION=2.3.*
- php: 5.5
env: ZF_VERSION=2.4.*
- php: 5.6
env: ZF_VERSION=2.3.*
- php: 5.6
env: ZF_VERSION=2.4.*
- php: 7
- php: hhvm
allow_failures:
- php: hhvm
before_script:
- travis_retry composer self-update
- if [ "ZF_VERSION" != "" ]; then ./scripts/composer-require "ZF_VERSION"; fi;
install:
- travis_retry composer update --prefer-dist --no-interaction
script:
- composer test-coverage
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover build/code-coverage/clover/clover.xml
notifications:
irc: "irc.freenode.org#noiselabs"
webhooks:
urls:
- https://webhooks.gitter.im/e/0be692024c564336df37
on_success: change
on_failure: always
on_start: false