forked from matomo-org/device-detector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (34 loc) · 910 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
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7
- hhvm
sudo: false
services:
- memcached
before_script:
- sh -c 'if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi;'
- (composer self-update; true)
- composer require satooshi/php-coveralls ~1.0.0
- composer require doctrine/cache ~1.2
- composer install
script:
- ./vendor/phpunit/phpunit/phpunit --coverage-clover build/logs/clover.xml
after_script:
- php vendor/bin/coveralls -v
notifications:
slack:
rooms:
- piwik:3HWhNh21qPfDACQXTrJOb0mW#device-detector
- piwikpro:7OABSbDrywSTo2nv9lD2svXG
irc:
skip_join: true
on_success: change
channels:
- "irc.freenode.org#piwik-dev"
template:
- "%{repository} (%{commit}) : %{message} %{foo} "
- "Device Detector Build details: %{build_url}"