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

48 lines
1.2 KiB
YAML

4 years ago
version: 2
jobs:
build-python36:
docker:
- image: python:3.6
steps:
- checkout
- restore_cache:
keys:
- ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }}
- run: python -m pip install --upgrade pip
- run: make install
4 years ago
- run: make model
- 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
build-python37:
docker:
- image: python:3.7
steps:
- checkout
- restore_cache:
keys:
- ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }}
- run: python -m pip install --upgrade pip
- run: make install
4 years ago
- run: make model
- 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:
version: 2
build:
jobs:
- build-python36
- build-python37
#- build-python38 # no tensorflow for python 3.8