Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
adding codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
gulien committed Apr 18, 2018
1 parent 490e136 commit 12d33e2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,2 +1,3 @@
vendor
tests/store
tests/store
clover.xml
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -10,4 +10,5 @@ before_install:
- sudo mv ./orbit /usr/local/bin && chmod +x /usr/local/bin/orbit

script:
- orbit run up ci
- orbit run up ci
- bash <(curl -s https://codecov.io/bash)
2 changes: 2 additions & 0 deletions docker-compose.yml
Expand Up @@ -5,6 +5,8 @@ services:
php:
image: thecodingmachine/php:7.1-v1-cli
container_name: php
environment:
- PHP_EXTENSION_XDEBUG=1
restart: 'no'
volumes:
- ./:/usr/src/app:rw
Expand Down
4 changes: 4 additions & 0 deletions phpunit.xml.dist
Expand Up @@ -21,4 +21,8 @@
<directory suffix=".php">src/</directory>
</whitelist>
</filter>

<logging>
<log type="coverage-clover" target="clover.xml"/>
</logging>
</phpunit>

0 comments on commit 12d33e2

Please sign in to comment.