forked from giggsey/libphonenumber-for-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (29 loc) · 863 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
sudo: false
language: php
matrix:
fast_finish: true
include:
- php: 5.3
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
# Use the newer stack for HHVM as HHVM does not support Precise
- php: hhvm
sudo: required
dist: trusty
group: edge
before_install:
- wget https://scrutinizer-ci.com/ocular.phar
- mkdir -p build/logs
install:
- travis_retry composer update --no-interaction $COMPOSER_FLAGS
script:
- ./vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
after_script:
- php vendor/bin/coveralls -v --exclude-no-stmt
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml
notifications:
irc: "irc.appliedirc.com#applied"