This repository has been archived by the owner on Feb 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
nils.diefenbach
committed
Feb 27, 2019
1 parent
9497015
commit 50d1f4c
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |