We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3df3459 commit a09e13cCopy full SHA for a09e13c
.travis.yml
@@ -13,11 +13,8 @@ env:
13
script:
14
- "./gradlew clean"
15
- "./gradlew exhaustiveTest"
16
- - "if [[ -n $TRAVIS_TAG ]]; then
17
- ./gradlew ship;
18
- else
19
- ./gradlew build;
20
- fi"
+ - "./gradlew build"
+
21
cache:
22
gradle: true
23
directories:
@@ -40,6 +37,7 @@ stages:
40
37
- 'Integration tests'
41
38
- 'Full stack production tests'
42
39
- 'Test'
+ - 'Publish'
43
44
jobs:
45
include:
@@ -75,10 +73,13 @@ jobs:
75
73
76
74
- stage: 'Source Clear'
77
if: type = cron
78
- addons:
79
- srcclr: true
80
- before_install: skip
81
install: skip
82
before_script: skip
83
script: skip
84
after_success: skip
+ - stage: 'Publish'
+ if: tag IS present
+ script:
+ - ./gradlew ship
85
+ after_success: skip
0 commit comments