graylog-plugin-redis-lookup/.travis.yml

28 lines
642 B
YAML
Raw Normal View History

2024-02-03 14:07:41 +01:00
sudo: required
dist: trusty
language: java
jdk:
- oraclejdk8
addons:
apt:
packages:
- rpm
before_deploy:
- mvn jdeb:jdeb && export RELEASE_DEB_FILE=$(ls target/*.deb)
- mvn rpm:rpm && export RELEASE_RPM_FILE=$(find target/ -name '*.rpm' | tail -1)
- rm -f target/original-*.jar
- export RELEASE_PKG_FILE=$(ls target/*.jar)
- echo "Deploying release to GitHub releases"
deploy:
provider: releases
api_key:
secure: <enter your encrypted GitHub access token>
file:
- "${RELEASE_PKG_FILE}"
- "${RELEASE_DEB_FILE}"
- "${RELEASE_RPM_FILE}"
skip_cleanup: true
on:
tags: true
jdk: oraclejdk8