You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sbb_binarization/.circleci/config.yml

33 lines
748 B
YAML

version: 2.1
4 years ago
jobs:
2 years ago
build-python:
parameters:
python-version:
type: string
docker:
2 years ago
- image: cimg/python:<< parameters.python-version >>
4 years ago
steps:
- checkout
- restore_cache:
keys:
- ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }}
- run: make install
2 years ago
- run: make models
4 years ago
- save_cache:
key: ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }}
4 years ago
paths:
ocrd-resources
4 years ago
- run: git submodule update --init
- run: make test
workflows:
build:
jobs:
- build-python:
2 years ago
matrix:
parameters:
python-version: ['3.7', '3.8', '3.9', '3.10']