diff --git a/.travis.yml b/.travis.yml index 028d3d6..68a575b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,18 @@ notifications: cache: directories: - - ${HOME}/.m2/ + - "${HOME}/.m2/" install: true + +before_deploy: mvn package -DskipTests + +deploy: + provider: releases + api_key: "${GH_TOKEN}" + file_glob: true + file: "./target/retest-model-*.jar" + skip_cleanup: true + on: + tags: true + branch: master