Permalink
Browse files

Updated for Travis CI release

  • Loading branch information...
lwj5 committed Jun 26, 2018
1 parent e59c9ff commit 98f624d16094721cd3018fc76f6e0bbbfe61d5e8
Showing with 9 additions and 4 deletions.
  1. +5 −2 .mvn.xml
  2. +2 −1 .travis.yml
  3. +2 −1 src/main/java/ai/preferred/venom/job/FIFOScheduler.java
@@ -25,17 +25,20 @@
<username>${env.SONATYPE_USERNAME}</username>
<password>${env.SONATYPE_PASSWORD}</password>
</server>
<server>
<id>gpg.passphrase</id>
<passphrase>${env.GPG_PASSPHRASE}</passphrase>
</server>
</servers>

<profiles>
<profile>
<id>ossrh</id>
<id>release</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.executable>${env.GPG_EXECUTABLE}</gpg.executable>
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
</properties>
</profile>
</profiles>
@@ -15,6 +15,7 @@ before_deploy:

deploy:
provider: script
script: mvn clean deploy -s .mvn.xml -DskipTests=true -B -U -P ossrh
script: mvn clean deploy -s .mvn.xml -DskipTests=true -B -U -P release
skip_cleanup: true
on:
tags: true
@@ -66,7 +66,8 @@ public final void put(final @Nonnull Job job) throws InterruptedException {
}

@Override
public final boolean offer(final Job job, final long timeout, final @Nonnull TimeUnit unit) throws InterruptedException {
public final boolean offer(final Job job, final long timeout, final @Nonnull TimeUnit unit)
throws InterruptedException {
return getQueue().offer(job, timeout, unit);
}
}

0 comments on commit 98f624d

Please sign in to comment.