diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000000000000000000000000000000000000..26344631a5e404c8bfd4aaf15e1e1299bdc920e9 --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,22 @@ +engines: + duplication: + enabled: true + config: + languages: + python: + + fixme: + enabled: true + markdownlint: + enabled: true + pep8: + enabled: true + radon: + enabled: true +exclude_paths: +- examples/** +- tests/** +- coolamqp/framing/definitions.py +ratings: + paths: + - coolamqp/** \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index c113c15e75213c0659eb5b785f26c1359dcc24e7..57d06eb6770fd6d333d28c5f951d6943d1f96644 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,11 @@ python: - "pypy" cache: pip install: - - pip install coverage nose mock + - echo "coverage\nnose\nmock\ncodeclimate-test-reporter\n" >> requirements.txt - pip install -r requirements.txt - python setup.py install script: - bash tests/test_posix/test_hang_until_sig.sh - nosetests --with-coverage - +after_success: + - CODECLIMATE_REPO_TOKEN=cc1c853d7d3b0d97a3de8e245d02b834194d30037ff8644d2b26d0e5f17c5fe6 codeclimate-test-reporter