Skip to content

Commit

Permalink
3.4 TravisCI 終了時に Coveralls のAPIに対してレポートXMLを送信
Browse files Browse the repository at this point in the history
- php-coveralls/php-coveralls を追加
- php-coveralls 用の設定ファイルを追加
- TravisCI 終了時に php-coveralls をキック
  • Loading branch information
koh-tanaka committed Nov 8, 2017
1 parent f99e1b6 commit aeb94c7
Show file tree
Hide file tree
Showing 4 changed files with 670 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .coveralls.yml
@@ -0,0 +1,2 @@
coverage_clover: report/clover.xml
json_path: report/coveralls-upload.json
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -6,3 +6,6 @@ php:
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar install

after_success:
- vendor/bin/coveralls -v
3 changes: 2 additions & 1 deletion composer.json
Expand Up @@ -7,6 +7,7 @@
}
},
"require-dev": {
"phpunit/phpunit": "^6.4"
"phpunit/phpunit": "^6.4",
"php-coveralls/php-coveralls": "^1.0"
}
}

0 comments on commit aeb94c7

Please sign in to comment.