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: ...@@ -18,8 +18,6 @@ git:
depth: 100500 depth: 100500
env: env:
global:
- PACKAGECLOUD_REPO=1_7
matrix: matrix:
- TARGET=source - TARGET=source
- TARGET=test - TARGET=test
...@@ -91,23 +89,38 @@ before_deploy: ...@@ -91,23 +89,38 @@ before_deploy:
deploy: deploy:
# Deploy packages to PackageCloud # Deploy packages to PackageCloud
- provider: packagecloud - provider: packagecloud
username: "${PACKAGECLOUD_USER}" username: "tarantool"
repository: "${PACKAGECLOUD_REPO}" repository: "1_7"
token: "${PACKAGECLOUD_TOKEN}" token: "${PACKAGECLOUD_TOKEN}"
dist: "${OS}/${DIST}" dist: "${OS}/${DIST}"
package_glob: build/*.{rpm,deb,dsc} package_glob: build/*.{rpm,deb,dsc}
skip_cleanup: true skip_cleanup: true
on: on:
branch: "1.7" repo: tarantool/tarantool
branch: "1.7" # releases
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
# Deploy sources to S3 # Deploy source tarballs to S3
- provider: script - provider: script
script: make -f .travis.mk source_deploy script: make -f .travis.mk source_deploy
skip_cleanup: true skip_cleanup: true
on: on:
branch: "1.7" repo: tarantool/tarantool
branch: "1.7" # releases
condition: "x${TARGET} = xsource" 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: notifications:
email: email:
recipients: 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