Skip to content

Commit d86ad1f

Browse files
author
Grégory Starck
committed
Add: build server package and install it.
So to be able to run client_test_with_server.py.
1 parent 48e08a1 commit d86ad1f

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ env:
1212
install:
1313
- sudo pip install tox
1414
- sudo pip install coveralls
15+
- ./build_influxdb_server.sh
1516
script:
1617
- travis_wait tox -e $TOX_ENV
1718
after_success:

build_influxdb_server.sh

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#!/usr/bin/env bash
2+
3+
#
4+
# build and install,
5+
# the latest influxdb server master
6+
#
7+
8+
set -e
9+
10+
tmpdir=$(mktemp -d)
11+
12+
echo "Using tempdir $tmpdir .."
13+
14+
cd "$tmpdir"
15+
16+
# rpm for package.sh (below) which will also build an .rpm
17+
sudo apt-get install ruby ruby-dev build-essential rpm
18+
19+
echo $PATH
20+
echo $(which gem)
21+
echo $(which ruby)
22+
23+
gem=$(which gem)
24+
25+
sudo $gem install fpm
26+
27+
mkdir -p go/src/github.com/influxdb
28+
cd go/src/github.com/influxdb
29+
30+
git clone --depth 5 https://github.com/influxdb/influxdb
31+
cd influxdb
32+
33+
version=0.0.0-$(git describe --always | sed 's/^v//')
34+
echo "describe: $version"
35+
36+
export GOPATH="$tmpdir/go"
37+
{ echo y ; yes no ; } | ./package.sh "$version"
38+
39+
deb=$(ls *.deb)
40+
sudo dpkg -i "$deb"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy