Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

travis-ci: update distributives and repositories #15

Merged
merged 1 commit into from
May 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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