Skip to content

Commit 22ecc06

Browse files
committed
👷 Trying to add converalls to travis
1 parent c4157e8 commit 22ecc06

File tree

6 files changed

+14
-3579
lines changed

6 files changed

+14
-3579
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
/vendor
22
.php_cs.cache
3+
clover.xml
4+
composer.lock

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@ install:
1616
- docker-compose build --build-arg PHP_VERSION=${TRAVIS_PHP_VERSION}
1717

1818
script:
19-
- docker-compose up --exit-code-from tests
19+
- docker-compose run tests composer install --prefer-source --no-interaction && php ./vendor/bin/phpunit --coverage-clover ./clover.xml
20+
21+
after_script:
22+
- docker-compose run tests composer install --prefer-source --no-interaction && php ./vendor/bin/php-coveralls -v

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@
1616
},
1717
"require-dev": {
1818
"phpunit/phpunit": "^6.0|^7.0",
19-
"orchestra/testbench": "^3.6"
19+
"orchestra/testbench": "^3.6",
20+
"satooshi/php-coveralls": "^2.0"
2021
},
2122
"autoload": {
2223
"psr-4": {

0 commit comments

Comments
 (0)