Skip to content

Commit aed833b

Browse files
authored
Merge pull request #36 from keboola/odin-cc-upate
chore: update codeclimate integration
2 parents d80c540 + 8be4603 commit aed833b

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

.travis.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,24 @@
11
language: php
2-
before_script: composer install
32
php:
4-
- 5.6
5-
- 7.0
6-
- hhvm
3+
- 5.6
4+
- 7.0
5+
- hhvm
6+
7+
before_script:
8+
- composer install
9+
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
10+
- chmod +x ./cc-test-reporter
11+
- export GIT_COMMIT_SHA=$TRAVIS_COMMIT
12+
- export GIT_BRANCH=$TRAVIS_BRANCH
13+
- ./cc-test-reporter before-build
14+
15+
script:
16+
- vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
17+
18+
after_success:
19+
- ./cc-test-reporter after-build --exit-code 0 --debug
20+
721
notifications:
22+
email: false
823
slack:
924
secure: WVnUU0fkZS75md3mm7B08SxhP3HDeHbJ8GTPR1DUVjK3MHAmKeSah/plNNxn9I/TdlXnHzQO5WBN33nUq0ODGGT4WFzFa66YTX2tb+bNSmewBOv82hEoITTI1PI9SLq0WNtcamHWCM3Rt1XtiZb3DQk/OcUfiWrrn74q4PPX+VY=

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Keboola CSV reader/writer [![Build Status](https://secure.travis-ci.org/keboola/php-csv.png)](http://travis-ci.org/keboola/php-csv)
1+
# Keboola CSV reader/writer [![Build Status](https://travis-ci.org/keboola/php-csv.svg?branch=master)](https://travis-ci.org/keboola/php-csv)
22
[![Latest Stable Version](https://poser.pugx.org/keboola/csv/v/stable.svg)](https://packagist.org/packages/keboola/csv)
33
[![License](https://poser.pugx.org/keboola/csv/license.svg)](https://packagist.org/packages/keboola/csv)
44
[![Total Downloads](https://poser.pugx.org/keboola/csv/downloads.svg)](https://packagist.org/packages/keboola/csv)

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
},
3030
"require-dev": {
3131
"phpunit/phpunit": "^5.7",
32-
"codeclimate/php-test-reporter": "^0.4",
3332
"squizlabs/php_codesniffer": "^3.2"
3433
}
3534
}

phpunit.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
convertWarningsToExceptions="true"
88
processIsolation="false"
99
stopOnFailure="false"
10-
syntaxCheck="false"
1110
bootstrap="tests/bootstrap.php">
1211

1312
<testsuite name="Main tests">

0 commit comments

Comments
 (0)