Skip to content
This repository was archived by the owner on May 9, 2018. It is now read-only.

Commit 613b2d1

Browse files
committed
Merge pull request #9 from VEBERArnaud/travis
Travis
2 parents 584da81 + f3ec804 commit 613b2d1

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

.scrutinizer.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@ coding_style:
6161
filter:
6262
excluded_paths:
6363
- tests/*
64+
65+
tools:
66+
external_code_coverage: true

.travis.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
language: php
2+
3+
php:
4+
- 5.6
5+
- 7.0
6+
- hhvm
7+
8+
matrix:
9+
allow_failures:
10+
- php: hhvm
11+
12+
sudo: false
13+
14+
before_script:
15+
- composer install
16+
17+
script:
18+
- ./vendor/bin/phpunit --configuration ./app/phpunit.xml.dist
19+
20+
after_script:
21+
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
22+
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml; fi

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)