Skip to content

Commit c2ee5ce

Browse files
committed
Fix CI.
Deploy packages to PackageCloud from tags and master. Also skip deploys for pull-requests, api and cron events.
1 parent cb79f90 commit c2ee5ce

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.travis.yml

+10
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ cache:
1111
git:
1212
depth: 100500
1313

14+
stages:
15+
- test
16+
- name: deploy
17+
# Deploy packages to PackageCloud from tags and master
18+
# see:
19+
# * https://github.com/tarantool/tarantool/issues/3745
20+
# * https://github.com/travis-ci/travis-ci/issues/7780#issuecomment-302389370
21+
# Also skip deploys for pull-requests, api and cron events.
22+
if: (type = push) AND (branch = master OR tag IS present) AND (env(PACKAGECLOUD_TOKEN) IS present)
23+
1424
env:
1525
global:
1626
- PRODUCT=tarantool-http

0 commit comments

Comments
 (0)