Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
issue #220, #221 #222 - Setup CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
nils.diefenbach committed Feb 27, 2019
1 parent 9497015 commit 50d1f4c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 50d1f4c

Please sign in to comment.