Travis: do not rerun tests on deploy stage

This commit is contained in:
Gauthier 2019-09-27 18:06:23 +08:00 committed by GitHub
parent 00395c3420
commit 2595665b0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,6 +18,7 @@ jobs:
include:
- stage: deploy
jdk: openjdk8
script: skip # do not rerun any tests
deploy:
- provider: script
script: ./gradlew dockerPushBeta
@ -37,4 +38,4 @@ jobs:
skip_cleanup: true
on:
tags: true
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+
condition: $TRAVIS_TAG =~ ^v[0-9]+\.[0-9]+\.[0-9]+