Skip to content

Commit

Permalink
build: fix release build
Browse files Browse the repository at this point in the history
  • Loading branch information
skylot committed Dec 7, 2019
1 parent d1a6841 commit cc29da8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: java
sudo: false
os: linux
dist: trusty

# don't build on tag push
Expand All @@ -22,7 +22,6 @@ env:

jdk:
- openjdk8
- oraclejdk8
- openjdk11

script: ./gradlew clean build
Expand All @@ -35,6 +34,8 @@ jobs:
script: bash scripts/travis-master.sh

- stage: deploy-release
language: node_js
jdk: openjdk8
node_js: 11
if: branch = release AND repo = env(MAIN_REPO) AND type = push
script: bash scripts/travis-release.sh

0 comments on commit cc29da8

Please sign in to comment.