Skip to content

Commit

Permalink
Use latest php-coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
hakito committed Oct 26, 2019
1 parent c04698d commit 23d6153
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion .coveralls.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# .coveralls.yml configuration

# for php-coveralls
src_dir: src
coverage_clover: build/coverage/clover.xml
json_path: build/coverage/coveralls-upload.json
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ composer.lock
junit.xml
build/
.phpunit.result.cache
.vscode/
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ php:
- 7.2
- 7.3
before_script:
- composer install
- composer update satooshi/php-coveralls
- composer require satooshi/php-coveralls
script:
- phpunit --coverage-clover build/coverage/clover.xml
after_script:
- php vendor/bin/coveralls -v
- php vendor/bin/php-coveralls -v
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
},
"require-dev": {
"php": ">=7.2",
"phpunit/phpunit": "8.*",
"satooshi/php-coveralls": "0.6.1"
"phpunit/phpunit": "8.*"
},
"autoload": {
"files": [ "src/functions.php"],
Expand Down

0 comments on commit 23d6153

Please sign in to comment.