Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

add setup and linter to circleci

edgarribaee2b74316e5e
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 8eb978c27..a27391854 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -5,14 +5,32 @@ common: &common
steps:
- checkout
- run:
- name: run hello-world
- command: echo "hello world!"
+ name: run setup-dev-env
+ command: ./setup_travis_env.sh
- run:
- name: install dependencies
+ name: activate enviroment
command: |
- pip install --upgrade pip
- pip install --user setuptools flake8 pylint
- flake8 kornia
+ source path.bash.inc
+ echo "source .dev_env/bin/activate" >> $BASH_ENV
+ - run:
+ name: install package
+ command: make install
+ - run:
+ name: lint check
+ command: make lint
+ - run:
+ name: static check
+ command: make mypy
+ - run:
+ name: docs
+ command: make build-docs
+ - run:
+ name: unit tests
+ command: make test-cpu-cov
+ - run:
+ name: send coverage
+ when: on_success
+ command: bash <(curl -s https://codecov.io/bash)
jobs:
"python-3.6":
@@ -30,4 +48,4 @@ workflows:
test:
jobs:
- "python-3.6"
- - "python-3.7"
+ #- "python-3.7"