Skip to content

Commit

Permalink
Merge pull request #30 from maxlambrecht/travis_integration
Browse files Browse the repository at this point in the history
Add github releases to travis config
  • Loading branch information
maxlambrecht authored Jun 10, 2020
2 parents 312d275 + 2905f00 commit 6164efa
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
sudo: false

language: java
jdk:
- oraclejdk11

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/

cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"

deploy:
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: "build/libs/*"
skip_cleanup: true
on:
tags: true
condition: $GITHUB_TOKEN != ""

0 comments on commit 6164efa

Please sign in to comment.