From 23597f04be48ffaef375df70ea17e3bc0c61cffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Sch=C3=B6lling?= Date: Sun, 14 May 2017 12:16:01 +0200 Subject: [PATCH] CI: Use Ubuntu 17.04 for DBus --- .travis.yml | 16 ++++++++-------- CHANGELOG.md | 5 +++++ Cargo.toml | 2 +- README.md | 10 ++++++---- ci/before_deploy.sh | 22 ++++++++++++---------- ci/install.sh | 21 ++++++++++++++++++++- 6 files changed, 52 insertions(+), 24 deletions(-) diff --git a/.travis.yml b/.travis.yml index dd9b3f6..eb27ef3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,16 +21,16 @@ matrix: # don't need include: # Linux - - env: TARGET=i686-unknown-linux-gnu +# - env: TARGET=i686-unknown-linux-gnu - env: TARGET=i686-unknown-linux-musl - env: TARGET=x86_64-unknown-linux-gnu - env: TARGET=x86_64-unknown-linux-musl # OSX - - env: TARGET=i686-apple-darwin - os: osx - - env: TARGET=x86_64-apple-darwin - os: osx +# - env: TARGET=i686-apple-darwin +# os: osx +# - env: TARGET=x86_64-apple-darwin +# os: osx # *BSD # - env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1 @@ -52,9 +52,9 @@ matrix: # Testing other channels - env: TARGET=x86_64-unknown-linux-gnu rust: nightly - - env: TARGET=x86_64-apple-darwin - os: osx - rust: nightly +# - env: TARGET=x86_64-apple-darwin +# os: osx +# rust: nightly before_install: set -e diff --git a/CHANGELOG.md b/CHANGELOG.md index 85eba89..6217f38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## [0.5.3] 2017-05-14 +### Fixed +- Better debug output +- Use dbus v1.10 + ## [0.5.2] 2017-05-11 ### Fixed - Fix typo in supernode diff --git a/Cargo.toml b/Cargo.toml index 5b81ece..3163945 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "bulletinboard" -version = "0.4.4" +version = "0.5.3" authors = ["Manuel Schölling "] description = "A general-purpose DHT" homepage = "https://github.com/manuels/bulletinboard-dht" diff --git a/README.md b/README.md index 79d0366..35f7425 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ BulletinBoard DHT ================= +[![Build Status](https://travis-ci.org/manuels/bulletinboard-dht.svg?branch=master)](https://travis-ci.org/manuels/bulletinboard-dht) + [https://github.com/manuels/bulletinboard-dht](https://github.com/manuels/bulletinboard-dht) Introduction @@ -29,18 +31,18 @@ Installation 1) **Download** # Debian/Ubuntu - wget 'https://github.com/manuels/bulletinboard-dht/releases/download/v0.5.0/bulletinboard_0.5.0_amd64.deb' + wget 'https://github.com/manuels/bulletinboard-dht/releases/download/v0.5.3/bulletinboard_0.5.3_amd64.deb' # Fedora - wget 'https://github.com/manuels/bulletinboard-dht/releases/download/v0.5.0/bulletinboard-0.5.0-1.x86_64.rpm' + wget 'https://github.com/manuels/bulletinboard-dht/releases/download/v0.5.3/bulletinboard-0.5.3-1.x86_64.rpm' 2) **Install bulletinboard** # Debian/Ubuntu - sudo dpkg -i bulletinboard_0.5.0_amd64.deb + sudo dpkg -i bulletinboard_0.5.3_amd64.deb # Fedora - sudo rpm -ivh bulletinboard-0.5.0.x86_64.rpm + sudo rpm -ivh bulletinboard-0.5.3.x86_64.rpm Usage ----- diff --git a/ci/before_deploy.sh b/ci/before_deploy.sh index 89e5bff..1437cdf 100644 --- a/ci/before_deploy.sh +++ b/ci/before_deploy.sh @@ -51,16 +51,18 @@ main() { ~/.rbenv/bin/rbenv rehash which gem - gem install --no-ri --no-rdoc ffi - gem install --no-ri --no-rdoc fpm - fpm -s dir -t deb -n $CRATE_NAME -v `echo $TRAVIS_TAG | tr -d v` \ - $src/org.manuel.BulletinBoard.service=/usr/share/dbus-1/services/ \ - $src/target/$TARGET/release/bulletinboard=/usr/bin/ - fpm -s dir -t rpm -n $CRATE_NAME -v `echo $TRAVIS_TAG | tr -d v` \ - $src/org.manuel.BulletinBoard.service=/usr/share/dbus-1/services/ \ - $src/target/$TARGET/release/bulletinboard=/usr/bin/ - cp *deb $src - cp *rpm $src + if [ $NAME = with_dbus_service ]; then + gem install --no-ri --no-rdoc ffi + gem install --no-ri --no-rdoc fpm + fpm -s dir -t deb -n $CRATE_NAME -v `echo $TRAVIS_TAG | tr -d v` \ + $src/org.manuel.BulletinBoard.service=/usr/share/dbus-1/services/ \ + $src/target/$TARGET/release/bulletinboard=/usr/bin/ + fpm -s dir -t rpm -n $CRATE_NAME -v `echo $TRAVIS_TAG | tr -d v` \ + $src/org.manuel.BulletinBoard.service=/usr/share/dbus-1/services/ \ + $src/target/$TARGET/release/bulletinboard=/usr/bin/ + cp *deb $src + cp *rpm $src + fi cd $src diff --git a/ci/install.sh b/ci/install.sh index 1816fae..4513775 100644 --- a/ci/install.sh +++ b/ci/install.sh @@ -8,8 +8,27 @@ main() { if [ $TRAVIS_OS_NAME = linux ]; then target=x86_64-unknown-linux-gnu sort=sort + echo 'APT::Default-Release "trusty";' | sudo tee /etc/apt/apt.conf.d/01ubuntu + echo 'deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list + echo <