-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
23 lines (23 loc) · 1.24 KB
/
.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
dist: trusty
language: php
php:
- 7.1
- 7.2
sudo: false
cache:
directories:
- "$HOME/.composer/cache"
before_script:
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
script:
- vendor/bin/phpcs --standard=psr2 src/
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- |
if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' && "$TRAVIS_PHP_VERSION" != '7.0' ]]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
notifications:
slack:
secure: iqKB9XHZJGnot9ww9ipk+Rvb/mRPrFpNe8wWZZvEc0UTZFelg+G4MN71CcHwP30acWG6yJroyU2Ikrr/wwuJ6rg5mmk+daYymvdDLiAJyEZGX4FyVv/C8uyz/ys7jnUZt61s4Uq4VisBMv5wBH2MHEQ2AzI0kHl1JW0v1Rw0B3GXNI6NJha5353cDw3/6Zo+sU1/Iik/KlA5altL10LRquohn5t9aBhWOA0QVRPZrASztuAlYu5DPlpyf5iMtXUN1f4ESiZL54PjSG9ul80DkaqGEyr0Duzd0pb6+Qj9F6WYWdj64UzicG9o/wCvuorbur29cv01RfjSfpCJBqm4McWTz7FeDQo7qk1HH4sHnROWVyyr+2OJY0js0eZBEMGcAllUfkSJ4tQaUj9Se/Y8CUl8nD3XAeN/EwIHAW8KU4ATKU4YXKGA9maiXV2Rbp3ohzJK4To6deLYvMwE5UscmOBRvd7lpfLV/f0b8PkLOsptmwUPD/0horyfl89kuu9V9XShBuMDiga2nrCGM4yEz5dL76u5es5QYdfjfqCNL6kIsIq0EraWoHz7LcXbijTDTRsAp8tFLNmRj2A5VcjE7W989DDZwmelSK9j+Lf/SXcliU0kxP3g7tEC8ieyQTo5FVbqvpC9joMD/1CuIKHZOJU74tQ2mX/Wd3dJ+nBVZOk=