Skip to content

Commit e996d70

Browse files
committed
run deploy only once to prevent build errors
1 parent 13acd98 commit e996d70

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ matrix:
1616
env: PUPPET_GEM_VERSION="~> 4" STRICT_VARIABLES="yes"
1717
- rvm: 2.3.1
1818
env: PUPPET_GEM_VERSION="~> 4" STRICT_VARIABLES="yes"
19+
- rvm: 2.3.1
20+
env: PUPPET_GEM_VERSION="~> 4" STRICT_VARIABLES="yes" FORGEDEPLOY=true
1921
notifications:
2022
email: false
2123
deploy:
@@ -27,3 +29,4 @@ deploy:
2729
tags: true
2830
all_branches: true
2931
rvm: 2.3.1
32+
condition: "$FORGEDEPLOY = true"

0 commit comments

Comments
 (0)