Skip to content

Commit d25e5ba

Browse files
author
Stephan Wentz
committed
enable hhvm tests, create coverage, upload coverage
1 parent 96a304a commit d25e5ba

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

.scrutinizer

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
tools:
2+
external_code_coverage:
3+
timeout: 600 # Timeout in seconds.

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ php:
44
- 5.5
55
- 5.6
66
- 7
7+
- hhvm
78

89
before_script: composer install
910

10-
script: vendor/bin/phpunit -c tests
11+
script: vendor/bin/phpunit -c tests --coverage-clover=coverage.clover
12+
13+
after_script:
14+
- sh -c 'if [ $(phpenv version-name) = "5.6" ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover cove rage.clover; fi;'

0 commit comments

Comments
 (0)