Skip to content

🐍 Geometric Computer Vision Library for Spatial AI

docs only in python 3.6 (#596)

Edgar Riba5ffd85ebd1ce
diff --git a/.circleci/config.yml b/.circleci/config.yml
index e741538b3..71be55be4 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,56 +1,63 @@
version: 2.1
-common: &common
- working_directory: ~/kornia-tester
- steps:
- - checkout
- - run:
- name: install dependencies
- command: ./setup_dev_env.sh
- - run:
- name: activate environment
- command: source path.bash.inc
- - 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
- - run:
- name: send coverage
- when: on_success
- command: bash <(curl -s https://codecov.io/bash)
+commands:
+ common:
+ steps:
+ - checkout
+ - run:
+ name: install dependencies
+ command: ./setup_dev_env.sh
+ - run:
+ name: activate environment
+ command: source path.bash.inc
+ - run:
+ name: install package
+ command: make install
+ - run:
+ name: lint check
+ command: make lint
+ - run:
+ name: static check
+ command: make mypy
+ - run:
+ name: unit tests
+ command: make test-cpu
+ - run:
+ name: send coverage
+ when: on_success
+ command: bash <(curl -s https://codecov.io/bash)
+ docs:
+ steps:
+ - run:
+ name: docs
+ command: make build-docs
+
jobs:
python_3_6:
- <<: *common
docker:
- image: circleci/python:3.6.5
environment:
- PYTHON_VERSION: "3.6"
+ steps:
+ - common
+ - docs
python_3_7:
- <<: *common
docker:
- image: circleci/python:3.7.3
environment:
- PYTHON_VERSION: "3.7"
+ steps:
+ - common
python_3_8:
- <<: *common
docker:
- image: circleci/python:3.8.0
environment:
- PYTHON_VERSION: "3.8"
+ steps:
+ - common
workflows:
version: 2