Skip to content

Commit

Permalink
Update CI options
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbarbara committed Dec 21, 2018
1 parent 6214cd6 commit fead7ca
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 34 deletions.
56 changes: 33 additions & 23 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,38 @@
---
engines:
eslint:
enabled: true
channel: "eslint-4"
config:
extensions:
- .js
- .jsx
checks:
import/no-duplicates:
enabled: false
no-template-curly-in-string:
enabled: false
import/no-unresolved:
enabled: false
import/no-extraneous-dependencies:
enabled: false
import/no-named-as-default-member:
enabled: false
ratings:
paths:
- "**.js"
- "**.jsx"
version: "2"
checks:
argument-count:
config:
threshold: 4
complex-logic:
config:
threshold: 4
file-lines:
config:
threshold: 500
method-complexity:
config:
threshold: 20
method-count:
config:
threshold: 20
method-lines:
config:
threshold: 50
nested-control-flow:
config:
threshold: 4
return-statements:
config:
threshold: 4
similar-code:
config:
threshold: 100
identical-code:
config:
threshold: 20
exclude_paths:
- coverage/**/*
- es/**/*
- lib/**/*
- node_modules/**/*
Expand Down
13 changes: 2 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- '8'
- '10'
cache:
directories:
- "node_modules"
Expand All @@ -9,17 +9,8 @@ before_script:
- chmod +x ./cc-test-reporter
- ./cc-test-reporter before-build
script:
- npm test
- npm run validate
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
deploy:
provider: npm
email: gilbarbara@gmail.com
api_key:
secure: udTSoiJXNkpRBrbwNtzflguIc/QvRbW/xdajwJqYUxitA409jBO+VhsxwlDJBl0HHHKW7yOwTUXvKAxr92y/6FByVM9yLuduQLOvG9J++l12Lc7fehKXbuNBZZDwjUF3MwftF9mCj4gJTUPrajZjXxUx78hI7dTCjJuJkpXHfZSr00Xu8In59rzr9OhDGBITlMSynE0yEIVBEfboxf9q5uSuJtp6qaK5ohbZqQnz2KIVoI2TUZ9KXpU8765mAd5xxvF4kgpmLYFN9TSd49oipZYPZs4UjlfVrPmKq2nmzepew9HuaXEvg0DLpcI9YjzBkR4AGlRIal2t4gNmy9m2XbaeyTS5q5Aoa+UchR9GS+LLsBIfl+1bI9yqijURZp68xMdQRC2iUrPcJeTKY9WpXEYFjxPmJXqfQl2BAiOlaxCzvNnD2i8th6PpeI+2aU79pWRSwUSQqV4PLjDN+M86cEpVRxZePLte6RIVqtRBes9HY8sQph0MAdzLUTbmMehnB1XzSRbuR77687NrbW8epRsxqRSK2Uqman8ZWSJan9apwP4niVciDJbfVL9M1J7pUZX8HKvfC3l5NJWO69xzQFouSVhtkZZWU4bxGtgS5gM+H/AHKv9/qktoA/K8hGPEFR1S7OoWSP310wetGHMHuXniKQh7glDh/IkpFp8QF14=
on:
tags: true
node: '8'
branch: master
addons:
code_climate: true

0 comments on commit fead7ca

Please sign in to comment.