-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
32 lines (25 loc) · 838 Bytes
/
.travis.yml
File metadata and controls
32 lines (25 loc) · 838 Bytes
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
sudo: false
language: php
matrix:
fast_finish: true
include:
- php: 7.1
env:
before_install:
- composer self-update
#- composer require --dev satooshi/php-coveralls:dev-master object-calisthenics/phpcs-calisthenics-rules:^2.0
install:
- composer install --prefer-source --no-interaction
- if [[ ! $(php -m | grep -i xdebug) ]]; then pecl install xdebug; fi;
- phpenv rehash
- mkdir -p coverage
script:
- ./vendor/bin/phpunit --verbose --coverage-clover coverage/clover.xml
#- ./vendor/bin/phpcs --config-set installed_paths vendor/object-calisthenics/phpcs-calisthenics-rules/src
- ./vendor/bin/phpcs --standard=PSR2 --ignore=vendor/* src tests
#- ./vendor/bin/phpcs --standard=ObjectCalisthenics src
after_script:
- ./vendor/bin/coveralls
notififation:
on_success: never
on_failure: always