Update build pipeline.

This commit is contained in:
Mark Nellemann 2019-08-19 11:43:07 +02:00
parent 479f18a4e1
commit 0fc5ebec08
2 changed files with 26 additions and 2 deletions

15
.editorconfig Normal file
View File

@ -0,0 +1,15 @@
root = true
[*]
indent_style = tab
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{json,yml}]
indent_size = 2
[*.md]
trim_trailing_whitespace = false

View File

@ -2,8 +2,17 @@ image: openjdk:8
pipelines:
default:
- step:
- step: # define the build pipeline for the tag
caches:
- gradle
name: Build and Test
script:
- bash ./gradlew build
- 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