From 50d1f4cb9dc0e76fe9c00e42985bcd9e93939ea7 Mon Sep 17 00:00:00 2001 From: "nils.diefenbach" Date: Wed, 27 Feb 2019 10:12:04 +0100 Subject: [PATCH] issue #220, #221 #222 - Setup CI. --- .circleci/config.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..dfd0bf1 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,32 @@ +version: 2 +jobs: + build: + working_directory: ~/ci + docker: + - image: circleci/python:3.6.4 + steps: + - checkout + - run: + name: Install Library + command: | # use pipenv to install dependencies + sudo pip install pipenv + pipenv install + - run: + name: Run Linters + command: | # Run Linters + cd ~/ci/bitex + pylint bitex + pyre check + pydocstyle bitex + test: + working_directory: ~/ci + docker: + - image: circleci/python:3.6.4 + steps: + - checkout + - run: + name: Run tests + command: | # use pipenv to install dependencies + sudo pip install pipenv + pipenv install + pipenv run pytest tests