diff --git a/.travis.yml b/.travis.yml index 021f8edc5eed01b232be7ba587460e94fded471a..5ccdbf989db73d0c52e7151273d1855ac2cde6d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: