Skip to content
Snippets Groups Projects
Commit 3f8e6de2 authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

Travis CI: deploy development branches to PackageCloud

parent 05506102
No related branches found
No related tags found
No related merge requests found
......@@ -18,8 +18,6 @@ git:
depth: 100500
env:
global:
- PACKAGECLOUD_REPO=1_7
matrix:
- TARGET=source
- TARGET=test
......@@ -91,23 +89,38 @@ before_deploy:
deploy:
# Deploy packages to PackageCloud
- provider: packagecloud
username: "${PACKAGECLOUD_USER}"
repository: "${PACKAGECLOUD_REPO}"
username: "tarantool"
repository: "1_7"
token: "${PACKAGECLOUD_TOKEN}"
dist: "${OS}/${DIST}"
package_glob: build/*.{rpm,deb,dsc}
skip_cleanup: true
on:
branch: "1.7"
repo: tarantool/tarantool
branch: "1.7" # releases
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
# Deploy sources to S3
# Deploy source tarballs to S3
- provider: script
script: make -f .travis.mk source_deploy
skip_cleanup: true
on:
branch: "1.7"
repo: tarantool/tarantool
branch: "1.7" # releases
condition: "x${TARGET} = xsource"
# Deploy packages to PackageCloud
- provider: packagecloud
username: "tarantool"
repository: "1_7_next"
token: "${PACKAGECLOUD_TOKEN}"
dist: "${OS}/${DIST}"
package_glob: build/*.{rpm,deb,dsc}
skip_cleanup: true
on:
repo: tarantool/tarantool
branch: "1.7-next" # development branch
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
notifications:
email:
recipients:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment