Skip to content

Commit

Permalink
Merge pull request #36 from keboola/odin-cc-upate
Browse files Browse the repository at this point in the history
chore: update codeclimate integration
  • Loading branch information
odinuv authored Oct 18, 2018
2 parents d80c540 + 8be4603 commit aed833b
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
23 changes: 19 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
language: php
before_script: composer install
php:
- 5.6
- 7.0
- hhvm
- 5.6
- 7.0
- hhvm

before_script:
- composer install
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- export GIT_COMMIT_SHA=$TRAVIS_COMMIT
- export GIT_BRANCH=$TRAVIS_BRANCH
- ./cc-test-reporter before-build

script:
- vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml

after_success:
- ./cc-test-reporter after-build --exit-code 0 --debug

notifications:
email: false
slack:
secure: WVnUU0fkZS75md3mm7B08SxhP3HDeHbJ8GTPR1DUVjK3MHAmKeSah/plNNxn9I/TdlXnHzQO5WBN33nUq0ODGGT4WFzFa66YTX2tb+bNSmewBOv82hEoITTI1PI9SLq0WNtcamHWCM3Rt1XtiZb3DQk/OcUfiWrrn74q4PPX+VY=
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Keboola CSV reader/writer [![Build Status](https://secure.travis-ci.org/keboola/php-csv.png)](http://travis-ci.org/keboola/php-csv)
# Keboola CSV reader/writer [![Build Status](https://travis-ci.org/keboola/php-csv.svg?branch=master)](https://travis-ci.org/keboola/php-csv)
[![Latest Stable Version](https://poser.pugx.org/keboola/csv/v/stable.svg)](https://packagist.org/packages/keboola/csv)
[![License](https://poser.pugx.org/keboola/csv/license.svg)](https://packagist.org/packages/keboola/csv)
[![Total Downloads](https://poser.pugx.org/keboola/csv/downloads.svg)](https://packagist.org/packages/keboola/csv)
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
},
"require-dev": {
"phpunit/phpunit": "^5.7",
"codeclimate/php-test-reporter": "^0.4",
"squizlabs/php_codesniffer": "^3.2"
}
}
1 change: 0 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="tests/bootstrap.php">

<testsuite name="Main tests">
Expand Down

0 comments on commit aed833b

Please sign in to comment.