Skip to content

Commit 6fea9b4

Browse files
committed
[INTERNAL] Optimize travis build/deploy
1 parent e3e42df commit 6fea9b4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ after_success:
1111

1212
jobs:
1313
include:
14-
- if: (branch IN (master, Staging, Stable) AND type = push) OR (type = pull_request)
14+
- if: (branch = master AND type = push) OR (type = pull_request)
1515
env: IDEA_VERSION=LATEST-EAP-SNAPSHOT GRAMMAR_KIT_VERSION=2017.1.2
1616
script: gradle check verifyPlugin
1717
- stage: deploy
1818
if: branch IN (Staging, Stable) AND type = push
1919
env: IDEA_VERSION=IC-2018.1 GRAMMAR_KIT_VERSION=2017.1.2 JI_CHANNELS=$TRAVIS_BRANCH
20-
script: gradle publishPlugin
20+
script: gradle check publishPlugin
21+

0 commit comments

Comments
 (0)