Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
boretti committed Nov 6, 2019
1 parent 2bdf19a commit e3f1ad4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ if: NOT tag =~ ^ci/
language: java
matrix:
include:
- os: linux
jdk: oraclejdk8
- os: linux
jdk: oraclejdk9
- os: linux
Expand Down Expand Up @@ -45,7 +43,7 @@ deploy:
local-dir: target/site
on:
branch: master
condition: $TRAVIS_JDK_VERSION = oraclejdk8
condition: $TRAVIS_JDK_VERSION = openjdk8
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
Expand All @@ -57,7 +55,7 @@ deploy:
on:
branch: master
tags: false
condition: $TRAVIS_JDK_VERSION = oraclejdk8
condition: $TRAVIS_JDK_VERSION = openjdk8
- provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
Expand All @@ -68,4 +66,4 @@ deploy:
body: "$RELEASE_NOTES"
on:
tags: true
condition: $TRAVIS_JDK_VERSION = oraclejdk8 && "$TRAVIS_TAG" =~ powerunit-extensions-matchers-[0-9].[0-9].[0-9]
condition: $TRAVIS_JDK_VERSION = openjdk8 && "$TRAVIS_TAG" =~ powerunit-extensions-matchers-[0-9].[0-9].[0-9]

0 comments on commit e3f1ad4

Please sign in to comment.