Skip to content

Commit 23597f0

Browse files
committed
CI: Use Ubuntu 17.04 for DBus
1 parent bd84ec3 commit 23597f0

File tree

6 files changed

+52
-24
lines changed

6 files changed

+52
-24
lines changed

.travis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ matrix:
2121
# don't need
2222
include:
2323
# Linux
24-
- env: TARGET=i686-unknown-linux-gnu
24+
# - env: TARGET=i686-unknown-linux-gnu
2525
- env: TARGET=i686-unknown-linux-musl
2626
- env: TARGET=x86_64-unknown-linux-gnu
2727
- env: TARGET=x86_64-unknown-linux-musl
2828

2929
# OSX
30-
- env: TARGET=i686-apple-darwin
31-
os: osx
32-
- env: TARGET=x86_64-apple-darwin
33-
os: osx
30+
# - env: TARGET=i686-apple-darwin
31+
# os: osx
32+
# - env: TARGET=x86_64-apple-darwin
33+
# os: osx
3434

3535
# *BSD
3636
# - env: TARGET=i686-unknown-freebsd DISABLE_TESTS=1
@@ -52,9 +52,9 @@ matrix:
5252
# Testing other channels
5353
- env: TARGET=x86_64-unknown-linux-gnu
5454
rust: nightly
55-
- env: TARGET=x86_64-apple-darwin
56-
os: osx
57-
rust: nightly
55+
# - env: TARGET=x86_64-apple-darwin
56+
# os: osx
57+
# rust: nightly
5858

5959
before_install: set -e
6060

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## [0.5.3] 2017-05-14
4+
### Fixed
5+
- Better debug output
6+
- Use dbus v1.10
7+
38
## [0.5.2] 2017-05-11
49
### Fixed
510
- Fix typo in supernode

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bulletinboard"
3-
version = "0.4.4"
3+
version = "0.5.3"
44
authors = ["Manuel Schölling <manuel.schoelling@gmx.de>"]
55
description = "A general-purpose DHT"
66
homepage = "https://github.com/manuels/bulletinboard-dht"

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
BulletinBoard DHT
22
=================
33

4+
[![Build Status](https://travis-ci.org/manuels/bulletinboard-dht.svg?branch=master)](https://travis-ci.org/manuels/bulletinboard-dht)
5+
46
[https://github.com/manuels/bulletinboard-dht](https://github.com/manuels/bulletinboard-dht)
57

68
Introduction
@@ -29,18 +31,18 @@ Installation
2931
1) **Download**
3032

3133
# Debian/Ubuntu
32-
wget 'https://github.com/manuels/bulletinboard-dht/releases/download/v0.5.0/bulletinboard_0.5.0_amd64.deb'
34+
wget 'https://github.com/manuels/bulletinboard-dht/releases/download/v0.5.3/bulletinboard_0.5.3_amd64.deb'
3335

3436
# Fedora
35-
wget 'https://github.com/manuels/bulletinboard-dht/releases/download/v0.5.0/bulletinboard-0.5.0-1.x86_64.rpm'
37+
wget 'https://github.com/manuels/bulletinboard-dht/releases/download/v0.5.3/bulletinboard-0.5.3-1.x86_64.rpm'
3638

3739
2) **Install bulletinboard**
3840

3941
# Debian/Ubuntu
40-
sudo dpkg -i bulletinboard_0.5.0_amd64.deb
42+
sudo dpkg -i bulletinboard_0.5.3_amd64.deb
4143

4244
# Fedora
43-
sudo rpm -ivh bulletinboard-0.5.0.x86_64.rpm
45+
sudo rpm -ivh bulletinboard-0.5.3.x86_64.rpm
4446

4547
Usage
4648
-----

ci/before_deploy.sh

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,18 @@ main() {
5151
~/.rbenv/bin/rbenv rehash
5252
which gem
5353

54-
gem install --no-ri --no-rdoc ffi
55-
gem install --no-ri --no-rdoc fpm
56-
fpm -s dir -t deb -n $CRATE_NAME -v `echo $TRAVIS_TAG | tr -d v` \
57-
$src/org.manuel.BulletinBoard.service=/usr/share/dbus-1/services/ \
58-
$src/target/$TARGET/release/bulletinboard=/usr/bin/
59-
fpm -s dir -t rpm -n $CRATE_NAME -v `echo $TRAVIS_TAG | tr -d v` \
60-
$src/org.manuel.BulletinBoard.service=/usr/share/dbus-1/services/ \
61-
$src/target/$TARGET/release/bulletinboard=/usr/bin/
62-
cp *deb $src
63-
cp *rpm $src
54+
if [ $NAME = with_dbus_service ]; then
55+
gem install --no-ri --no-rdoc ffi
56+
gem install --no-ri --no-rdoc fpm
57+
fpm -s dir -t deb -n $CRATE_NAME -v `echo $TRAVIS_TAG | tr -d v` \
58+
$src/org.manuel.BulletinBoard.service=/usr/share/dbus-1/services/ \
59+
$src/target/$TARGET/release/bulletinboard=/usr/bin/
60+
fpm -s dir -t rpm -n $CRATE_NAME -v `echo $TRAVIS_TAG | tr -d v` \
61+
$src/org.manuel.BulletinBoard.service=/usr/share/dbus-1/services/ \
62+
$src/target/$TARGET/release/bulletinboard=/usr/bin/
63+
cp *deb $src
64+
cp *rpm $src
65+
fi
6466

6567
cd $src
6668

ci/install.sh

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,27 @@ main() {
88
if [ $TRAVIS_OS_NAME = linux ]; then
99
target=x86_64-unknown-linux-gnu
1010
sort=sort
11+
echo 'APT::Default-Release "trusty";' | sudo tee /etc/apt/apt.conf.d/01ubuntu
12+
echo 'deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list
13+
echo <<EOF | sudo tee -a /etc/apt/preferences
14+
Package: libdbus-1-dev
15+
Pin: release n=trusty
16+
Pin-Priority: -10
17+
18+
Package: libdbus-1-dev
19+
Pin: release n=xenial
20+
Pin-Priority: 900
21+
22+
Package: dbus-x11
23+
Pin: release n=trusty
24+
Pin-Priority: -10
25+
26+
Package: dbus-x11
27+
Pin: release n=xenial
28+
Pin-Priority: 900
29+
EOF
1130
sudo apt-get update
12-
sudo apt-get install -y libdbus-1-dev dbus-x11
31+
sudo apt-get install -t xenial -y binutils libdbus-1-dev dbus-x11
1332
else
1433
target=x86_64-apple-darwin
1534
sort=gsort # for `sort --sort-version`, from brew's coreutils.

0 commit comments

Comments
 (0)