libcvrapi/bitbucket-pipelines.yml

19 lines
554 B
YAML

image: openjdk:8
pipelines:
default:
- step: # define the build pipeline for the tag
caches:
- gradle
name: Build and Test
script:
- bash ./gradlew clean build
tags: # add the 'tags' section
release-*: # specify the tag
- step: # define the build pipeline for the tag
caches:
- gradle
name: Build and Release
script:
- bash ./gradlew clean build bintrayUpload