Skip to content

Commit 9ca113b

Browse files
committed
travis-ci: deploy to tarantool-2.4 repository
Fixes #40
1 parent e29476d commit 9ca113b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,16 @@ deploy:
107107
on:
108108
branch: master
109109
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
110+
- provider: packagecloud
111+
username: tarantool
112+
repository: "2_4"
113+
token: ${PACKAGECLOUD_TOKEN}
114+
dist: ${OS}/${DIST}
115+
package_glob: build/*.{rpm,deb,dsc}
116+
skip_cleanup: true
117+
on:
118+
branch: master
119+
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
110120

111121
# Deploy packages to PackageCloud from tags
112122
# see:
@@ -152,6 +162,16 @@ deploy:
152162
on:
153163
tags: true
154164
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
165+
- provider: packagecloud
166+
username: tarantool
167+
repository: "2_4"
168+
token: ${PACKAGECLOUD_TOKEN}
169+
dist: ${OS}/${DIST}
170+
package_glob: build/*.{rpm,deb,dsc}
171+
skip_cleanup: true
172+
on:
173+
tags: true
174+
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
155175

156176
notifications:
157177
email:

0 commit comments

Comments
 (0)