forked from maxmind/GeoIP2-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 898 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
---
sudo: false
language: php
dist: trusty
php:
- '5.4'
- '5.5'
- '5.6'
- '7.0'
- '7.1'
- hhvm
- nightly
matrix:
allow_failures:
- php: nightly
before_install:
- composer install --dev -n --prefer-source
- phpenv rehash
script:
- mkdir -p build/logs
- if [[ $TRAVIS_PHP_VERSION = '7.1' ]]; then vendor/bin/php-cs-fixer fix --verbose --diff --dry-run --config=.php_cs; fi
- if [[ $TRAVIS_PHP_VERSION = '7.1' ]]; then vendor/bin/phpcs --standard=PSR2 src/; fi
- vendor/bin/phpunit -c phpunit.xml.dist
after_script:
- php vendor/bin/coveralls
notifications:
email:
on_failure: always
on_success: change
recipients:
slack:
rooms:
secure: "OtowN1lGa5MAhn6gl87aB3kXXeOKLGIb4e9dBud/tPt/1sQDoZVj6m6VWtpsXh6iXL7lWetVbpmeZCydSRumgVMIy7+45uMQPvdoWBFCT+rq67yDb3gyvFknpjBuit0Q91lTDoGTUSgtqk+PSZX5LvDgT4b8WQFBb/dcB35hqis=\n"