diff --git a/.travis.yml b/.travis.yml index 70b7ffd..f000e55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,16 @@ cache: git: depth: 100500 +stages: + - test + - name: deploy + # Deploy packages to PackageCloud from tags and master + # see: + # * https://github.com/tarantool/tarantool/issues/3745 + # * https://github.com/travis-ci/travis-ci/issues/7780#issuecomment-302389370 + # Also skip deploys for pull-requests, api and cron events. + if: (type = push) AND (branch = master OR tag IS present) AND (env(PACKAGECLOUD_TOKEN) IS present) + env: global: - PRODUCT=tarantool-http