Skip to content

Commit 8e2d560

Browse files
smyrickdariuszkuc
authored andcommitted
Update travis config for branch and tag release (#261)
1 parent fe5aded commit 8e2d560

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ jdk:
55
- openjdk8
66
- openjdk11
77

8+
branches:
9+
only:
10+
- master
11+
- /v\d+\.\d+\.x/
12+
813
cache:
914
directories:
1015
- $HOME/.m2
@@ -15,7 +20,6 @@ before_install:
1520

1621
script:
1722
- ./mvnw install
18-
- ./mvnw -f example/pom.xml verify
1923

2024
deploy:
2125
provider: script
@@ -25,6 +29,7 @@ deploy:
2529
repo: ExpediaDotCom/graphql-kotlin
2630
tags: true
2731
jdk: openjdk8
32+
all_branches: true
2833

2934
after_deploy:
3035
- .travis/update-version.sh

0 commit comments

Comments
 (0)