Skip to content

Commit b15caa0

Browse files
committed
CIツール周りの設定変更
1 parent 9c1a3ab commit b15caa0

3 files changed

Lines changed: 9 additions & 10 deletions

File tree

.coveralls.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# for php-coveralls
22
src_dir: ./
3-
coverage_clover: build/logs/clover.xml
4-
json_path: build/logs/coveralls-upload.json
3+
coverage_clover: build/clover.xml
4+
json_path: build/coveralls-upload.json
55
repo_token: 3xJFnsjbW1bOVnKn757tIp3Fum8UC7Cvi

.scrutinizer.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
filter:
22
paths:
33
- 'src/*'
4-
build:
5-
tests:
6-
override:
7-
-
8-
command: phpunit --coverage-clover=my-coverage-file
9-
coverage:
10-
file: my-coverage-file
11-
format: php-clover
4+
excluded_paths:
5+
- 'tests/*'
6+
checks:
7+
php: true
8+
129
tools:
1310
php_cpd:
1411
enabled: true

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ script:
1717

1818
after_script:
1919
- php vendor/bin/coveralls -v
20+
- wget https://scrutinizer-ci.com/ocular.phar
21+
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover

0 commit comments

Comments
 (0)