From 8c4b3c5998b07b27d79a49e7fe22d20a9e0fb32a Mon Sep 17 00:00:00 2001 From: Alexander Turenko Date: Thu, 16 May 2019 01:42:36 +0300 Subject: [PATCH] travis-ci: update distributives and repositories Removed EOL distros, added new ones. Added 2_2 repository to deploy to. --- .travis.yml | 18 +++++++++++++++--- debian/prebuild.sh | 3 ++- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6688e98..776a52a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,15 +12,17 @@ env: - PRODUCT=tarantool-gis matrix: - 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=artful - 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 @@ -62,6 +64,16 @@ deploy: on: branch: master condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}" + - provider: packagecloud + username: tarantool + 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}" notifications: email: diff --git a/debian/prebuild.sh b/debian/prebuild.sh index ca385e5..4ea5bfe 100755 --- a/debian/prebuild.sh +++ b/debian/prebuild.sh @@ -3,7 +3,8 @@ # Configure tzdata in non-interactive way to avoid stuck on waiting user input # during dependencies installation. release=$(lsb_release -c -s) -if [ "${release}" = "bionic" ] || [ "${release}" = "cosmic" ]; then +if [ "${release}" = "bionic" ] || [ "${release}" = "cosmic" ] || \ + [ "${release}" = "disco" ]; then # Update packages list to overcome 404 Not found error at # downloading tzdata package. sudo apt-get update > /dev/null