mirror of
https://github.com/qurator-spk/sbb_binarization.git
synced 2025-06-09 12:19:56 +02:00
minimal CI setup
This commit is contained in:
parent
6543e74deb
commit
a24670edcc
3 changed files with 81 additions and 1 deletions
47
.circleci/config.yml
Normal file
47
.circleci/config.yml
Normal file
|
@ -0,0 +1,47 @@
|
|||
version: 2
|
||||
|
||||
jobs:
|
||||
|
||||
build-python36:
|
||||
docker:
|
||||
- image: python:3.6
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- model-cache
|
||||
- run: make model
|
||||
- save_cache:
|
||||
key: model-cache
|
||||
paths:
|
||||
models.tar.gz
|
||||
models
|
||||
- run: make install
|
||||
- run: git submodule update --init
|
||||
- run: make test
|
||||
|
||||
build-python37:
|
||||
docker:
|
||||
- image: python:3.7
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- model-cache
|
||||
- run: make model
|
||||
- save_cache:
|
||||
key: model-cache
|
||||
paths:
|
||||
models.tar.gz
|
||||
models
|
||||
- run: make install
|
||||
- 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
|
Loading…
Add table
Add a link
Reference in a new issue