Skip to content

Commit

Permalink
Configuring codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
wshayes committed Jan 3, 2018
1 parent 2585c39 commit 7557262
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Code climate configuration

exclude_patterns:
- "bel/lang/versions/parser*"
- "dist/"
- "tests/"
11 changes: 8 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,13 @@ install:
before_script:
- cp belbio_conf.yml.test belbio_conf.yml
- cp belbio_secrets.yml.test belbio_secrets.yml
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- make tests

after_success:
- CODECLIMATE_REPO_TOKEN=yourtoken codeclimate-test-reporter
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
env:
global:
- CC_TEST_REPORTER_ID=be0b36e872b86350595ad3d79cde328a37e3943848f95dd39e0b50e2286cf1ce

0 comments on commit 7557262

Please sign in to comment.