From 5663a0e215b56559ab85a4d318cba073b26bbad9 Mon Sep 17 00:00:00 2001 From: Alexander Turenko Date: Tue, 26 Mar 2019 20:13:16 +0300 Subject: [PATCH 1/3] travis-ci: update tarantool repositories We have no 2_0 repository anymore, but now there are 2x (with 2.0 and 2.1 versions) and 2_2 ones. --- .travis.yml | 3 ++- test.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 27096e2..0bf15fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,8 @@ env: - TARGET=test VERSION=1_7 - TARGET=test VERSION=1_9 - TARGET=test VERSION=1_10 - - TARGET=test VERSION=2_0 + - TARGET=test VERSION=2x + - TARGET=test VERSION=2_2 - OS=el DIST=6 - OS=el DIST=7 - OS=fedora DIST=26 diff --git a/test.sh b/test.sh index 491495b..3fca125 100755 --- a/test.sh +++ b/test.sh @@ -1,6 +1,6 @@ #!/bin/bash -VERSION=${VERSION:-2_0} +VERSION=${VERSION:-2_2} curl https://packagecloud.io/tarantool/${VERSION}/gpgkey | sudo apt-key add - release=`lsb_release -c -s` From 9928a0c182f1c0d1a0d80f3c88817d35e546b685 Mon Sep 17 00:00:00 2001 From: Alexander Turenko Date: Tue, 26 Mar 2019 20:45:36 +0300 Subject: [PATCH 2/3] travis-ci: update distros for deployment Removed Debian Wheezy as EOL. Added new distros. --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0bf15fb..124e231 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,11 +21,13 @@ env: - OS=el DIST=7 - OS=fedora DIST=26 - OS=fedora DIST=27 + - OS=fedora DIST=28 + - OS=fedora DIST=29 - OS=ubuntu DIST=trusty - OS=ubuntu DIST=xenial - OS=ubuntu DIST=artful - OS=ubuntu DIST=bionic - - OS=debian DIST=wheezy + - OS=ubuntu DIST=cosmic - OS=debian DIST=jessie - OS=debian DIST=stretch From 9c8f5a23314abca611a11d5322bfa16203cb9701 Mon Sep 17 00:00:00 2001 From: Alexander Turenko Date: Tue, 26 Mar 2019 20:46:41 +0300 Subject: [PATCH 3/3] travis-ci: deploy to 2_2 repository --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index 124e231..5f3d43d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -85,6 +85,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: