forked from serbanghita/Mobile-Detect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (41 loc) · 888 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
46
sudo: false
dist: trusty
language: php
matrix:
include:
- php: 5.3
dist: precise
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
- php: nightly
allow_failures:
- php: nightly
fast_finish: true
branches:
only:
- devel
- master
before_script:
- composer install
script:
- vendor/bin/phpunit --version
- vendor/bin/phpunit -v -c tests/phpunit.xml --coverage-text --strict-coverage --stop-on-risky
notifications:
email:
recipients:
on_success: never
on_failure: always
slack:
rooms:
- mobiledetect:in9qB4EvOrdR5v1E8V0nNqsJ#general
irc:
channels:
- "asimov.freenode.net#mobiledetect"
template:
- "%{repository} (%{commit}): %{message}. Build details: %{build_url}"
- "%{author} said %{commit_subject}. See %{compare_url}"