Skip to content

Commit 8c4b3c5

Browse files
committed
travis-ci: update distributives and repositories
Removed EOL distros, added new ones. Added 2_2 repository to deploy to.
1 parent 03c4431 commit 8c4b3c5

File tree

2 files changed

+17
-4
lines changed

2 files changed

+17
-4
lines changed

.travis.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,17 @@ env:
1212
- PRODUCT=tarantool-gis
1313
matrix:
1414
- OS=el DIST=7
15-
- OS=fedora DIST=26
16-
- OS=fedora DIST=27
15+
- OS=fedora DIST=28
16+
- OS=fedora DIST=29
17+
- OS=fedora DIST=30
1718
- OS=ubuntu DIST=trusty
1819
- OS=ubuntu DIST=xenial
19-
- OS=ubuntu DIST=artful
2020
- OS=ubuntu DIST=bionic
2121
- OS=ubuntu DIST=cosmic
22+
- OS=ubuntu DIST=disco
2223
- OS=debian DIST=jessie
2324
- OS=debian DIST=stretch
25+
- OS=debian DIST=buster
2426

2527
script:
2628
- git describe --long
@@ -62,6 +64,16 @@ deploy:
6264
on:
6365
branch: master
6466
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
67+
- provider: packagecloud
68+
username: tarantool
69+
repository: "2_2"
70+
token: ${PACKAGECLOUD_TOKEN}
71+
dist: ${OS}/${DIST}
72+
package_glob: build/*.{rpm,deb}
73+
skip_cleanup: true
74+
on:
75+
branch: master
76+
condition: -n "${OS}" && -n "${DIST}" && -n "${PACKAGECLOUD_TOKEN}"
6577

6678
notifications:
6779
email:

debian/prebuild.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
# Configure tzdata in non-interactive way to avoid stuck on waiting user input
44
# during dependencies installation.
55
release=$(lsb_release -c -s)
6-
if [ "${release}" = "bionic" ] || [ "${release}" = "cosmic" ]; then
6+
if [ "${release}" = "bionic" ] || [ "${release}" = "cosmic" ] || \
7+
[ "${release}" = "disco" ]; then
78
# Update packages list to overcome 404 Not found error at
89
# downloading tzdata package.
910
sudo apt-get update > /dev/null

0 commit comments

Comments
 (0)