mirror of
https://github.com/qurator-spk/ocrd-galley.git
synced 2025-07-01 01:19:52 +02:00
✅ Add initial Travis configuration
This commit is contained in:
parent
788aedcb9b
commit
7d17b9b2d4
2 changed files with 17 additions and 1 deletions
14
.travis.yml
Normal file
14
.travis.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
language: generic
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
install:
|
||||
- FORCE_GET_FROM_WEB=y ./build
|
||||
|
||||
script:
|
||||
- curl -O https://qurator-data.de/examples/actevedef_718448162.first-page.zip
|
||||
- unzip actevedef_718448162.first-page.zip
|
||||
- cd actevedef_718448162.first-page
|
||||
|
||||
- $TRAVIS_BUILD_DIR/run
|
4
build
4
build
|
@ -77,7 +77,9 @@ download_to() {
|
|||
set -e
|
||||
|
||||
|
||||
if ! check_data_subdir; then
|
||||
if [ -n "$FORCE_GET_FROM_WEB" ]; then
|
||||
get_from_web
|
||||
elif ! check_data_subdir; then
|
||||
select choice in "Abort to manually fix $DATA_SUBDIR submodule" "Download data files from the web"; do
|
||||
if [ $REPLY = 1 ]; then
|
||||
suggest_commands
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue