A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Use conditions to prevent builds on branches / tags other than master, dev and ng-*
Mark Schmitt0560ac2a9579
diff --git a/.travis.yml b/.travis.ymlindex e5f3cd91e..cf18825e8 100644--- a/.travis.yml+++ b/.travis.yml@@ -48,7 +48,7 @@ jobs:- docker build -f Dockerfile --tag=${DOCKER_REPO}:${TRAVIS_COMMIT}-amd64 .- docker push ${DOCKER_REPO}:${TRAVIS_COMMIT}-amd64on:- condition: '"${BUILD_DOCKER}" = 1'+ condition: '"${BUILD_DOCKER}" = 1 and ( branch =~ /^(master|dev|ng-.*)$/)'- stage: build_dockername: arm64v8 docker buildservices:@@ -68,8 +68,7 @@ jobs:virt: vmgroup: edgeon:- condition: '"${BUILD_DOCKER}" = 1'-+ condition: '"${BUILD_DOCKER}" = 1 and ( branch =~ /^(master|dev|ng-.*)$/)'- stage: build_dockername: arm32v7 docker buildservices:@@ -94,8 +93,7 @@ jobs:env:- DOCKER_CLI_EXPERIMENTAL=enabled # required for manifest supporton:- condition: '"${BUILD_DOCKER}" = 1'-+ condition: '"${BUILD_DOCKER}" = 1 and ( branch =~ /^(master|dev|ng-.*)$/)'- stage: publish_manifestenv:- DOCKER_CLI_EXPERIMENTAL=enabled # required for manifest support@@ -131,7 +129,7 @@ jobs:echo "Not a tag and not on master, so not pushing tag/master specific manifest"fion:- condition: '"${BUILD_DOCKER}" = 1'+ condition: '"${BUILD_DOCKER}" = 1 and ( branch =~ /^(master|dev|ng-.*)$/)'before_install: