Skip to content

Commit

Permalink
travis-ci: update distributives and repositories
Browse files Browse the repository at this point in the history
Removed EOL distros, added new ones.

Added 2_2 repository to deploy to.
  • Loading branch information
Totktonada committed May 17, 2019
1 parent 03c4431 commit 8c4b3c5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
18 changes: 15 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion debian/prebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c4b3c5

Please sign in to comment.