diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6e1b8e3 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +version: 2 +workflows: + version: 2 + test: + jobs: + - test-3.7.5 +jobs: + test-3.7.5: + docker: + - image: python:3.7.5 + steps: + - checkout + - run: + name: Install coverage and reporter + command: | + pip install coverage==5.0.3 + curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter + chmod +x ./cc-test-reporter + - run: + name: Run tests + command: | + set -x + ./cc-test-reporter before-build + coverage run -m setup test -v + coverage xml -i + ./cc-test-reporter after-build