Skip to content

Commit

Permalink
travis-ci: update distros and repos
Browse files Browse the repository at this point in the history
Removed release repos:
    1_7/1_9.
Added the build distros:
    Fedora 30, Ubuntu 19.04, Debian 10.
Removed the build distros:
    Fedora 26,27.
Deploy packages from tagged revisions, see:
    tarantool/tarantool#3745

Closes #94
  • Loading branch information
avtikhon committed Aug 2, 2019
1 parent 08fc208 commit 89a16c1
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions .travis.yml
Expand Up @@ -12,23 +12,22 @@ env:
global:
- PRODUCT=tarantool-queue
matrix:
- TARGET=test VERSION=1_7
- TARGET=test VERSION=1_9
- TARGET=test VERSION=1_10
- TARGET=test VERSION=2x
- TARGET=test VERSION=2_2
- OS=el DIST=6
- OS=el DIST=7
- OS=fedora DIST=26
- OS=fedora DIST=27
- OS=fedora DIST=28
- OS=fedora DIST=29
- OS=fedora DIST=30
- OS=ubuntu DIST=trusty
- OS=ubuntu DIST=xenial
- OS=ubuntu DIST=bionic
- OS=ubuntu DIST=cosmic
- OS=ubuntu DIST=disco
- OS=debian DIST=jessie
- OS=debian DIST=stretch
- OS=debian DIST=buster

script:
- git describe --long
Expand All @@ -46,7 +45,7 @@ before_deploy:
deploy:
- provider: packagecloud
username: tarantool
repository: "1_7"
repository: "1_10"
token: ${PACKAGECLOUD_TOKEN}
dist: ${OS}/${DIST}
package_glob: build/*.{rpm,deb}
Expand All @@ -56,7 +55,7 @@ deploy:
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
- provider: packagecloud
username: tarantool
repository: "1_9"
repository: "2x"
token: ${PACKAGECLOUD_TOKEN}
dist: ${OS}/${DIST}
package_glob: build/*.{rpm,deb}
Expand All @@ -66,14 +65,29 @@ deploy:
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
- provider: packagecloud
username: tarantool
repository: "1_10"
repository: "2_2"
token: ${PACKAGECLOUD_TOKEN}
dist: ${OS}/${DIST}
package_glob: build/*.{rpm,deb}
skip_cleanup: true
on:
branch: master
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"

# Deploy packages to PackageCloud from tags
# see:
# * https://github.com/tarantool/tarantool/issues/3745
# * https://github.com/travis-ci/travis-ci/issues/7780#issuecomment-302389370
- provider: packagecloud
username: tarantool
repository: "1_10"
token: ${PACKAGECLOUD_TOKEN}
dist: ${OS}/${DIST}
package_glob: build/*.{rpm,deb}
skip_cleanup: true
on:
tags: true
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
- provider: packagecloud
username: tarantool
repository: "2x"
Expand All @@ -82,7 +96,7 @@ deploy:
package_glob: build/*.{rpm,deb}
skip_cleanup: true
on:
branch: master
tags: true
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
- provider: packagecloud
username: tarantool
Expand All @@ -92,7 +106,7 @@ deploy:
package_glob: build/*.{rpm,deb}
skip_cleanup: true
on:
branch: master
tags: true
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"

notifications:
Expand Down

0 comments on commit 89a16c1

Please sign in to comment.