Skip to content

Commit

Permalink
Travis config (#2)
Browse files Browse the repository at this point in the history
* Travis config
* Rename to rabbitmq-scala-client
  • Loading branch information
jendakol authored Apr 4, 2018
1 parent 6af3a54 commit f06aef6
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .travis.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

./gradlew test &&
if $(test ${TRAVIS_REPO_SLUG} == "avast/rabbitmq-scala-client" && test ${TRAVIS_PULL_REQUEST} == "false" && test "$TRAVIS_TAG" != ""); then
./gradlew bintrayUpload -Pversion="$TRAVIS_TAG" --info
else
exit 0 # skipping publish, it's regular build
fi
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: java
jdk:
- oraclejdk8
sudo: required
services:
- docker
cache:
directories:
- $HOME/.gradle/wrapper/
script: ./.travis.sh
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# RabbitMQ client

[![Build Status](https://travis-ci.org/avast/rabbitmqclient.svg?branch=master)](https://travis-ci.org/avast/rabbitmqclient)
[![Download](https://api.bintray.com/packages/avast/maven/rabbitmqclient/images/download.svg) ](https://bintray.com/avast/maven/rabbitmqclient/_latestVersion)
[![Build Status](https://travis-ci.org/avast/rabbitmq-scala-client.svg?branch=master)](https://travis-ci.org/avast/rabbitmq-scala-client)
[![Download](https://api.bintray.com/packages/avast/maven/rabbitmq-scala-client/images/download.svg) ](https://bintray.com/avast/maven/rabbitmq-scala-client/_latestVersion)


This client is lightweight wrapper over standard [RabbitMQ java client](https://www.rabbitmq.com/java-client.html).
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ subprojects {

pkg {
repo = 'maven'
name = 'rabbitmqclient'
name = 'rabbitmq-scala-client'
userOrg = 'avast'
desc = 'Scala wrapper over standard RabbitMQ Java client library'
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/avast/rabbitmqclient.git'
websiteUrl = 'https://github.com/avast/rabbitmqclient'
issueTrackerUrl = 'https://github.com/avast/rabbitmqclient/issues'
vcsUrl = 'https://github.com/avast/rabbitmq-scala-client.git'
websiteUrl = 'https://github.com/avast/rabbitmq-scala-client'
issueTrackerUrl = 'https://github.com/avast/rabbitmq-scala-client/issues'
labels = ['rabbitmq', 'client', 'amqp', 'scala']
version {
name = project.version
Expand Down

0 comments on commit f06aef6

Please sign in to comment.