diff --git a/.codeclimate.yml b/.codeclimate.yml new file mode 100644 index 0000000..91c0ecb --- /dev/null +++ b/.codeclimate.yml @@ -0,0 +1,4 @@ +version: '2' +plugins: + pep8: + enabled: true \ No newline at end of file diff --git a/.gitignore b/.gitignore index ea0348c..5e928d9 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ *.pyc *.swp .cache/ -.coverage \ No newline at end of file +.coverage +htmlcov/ +coverage.xml \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index ff035d5..24db1bf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,4 +14,5 @@ script: - pytest --cov=southwest --cov=checkin --cov=openflights - pycodestyle *.py --show-source --ignore=E501 after_script: + - coverage xml - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT \ No newline at end of file