forked from nsqio/pynsq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (30 loc) · 1.27 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: python
python:
- 2.6
- 2.7
env:
- NSQ_DOWNLOAD=nsq-0.2.24.linux-amd64.go1.2 TORNADO_VERSION=2.4.1
- NSQ_DOWNLOAD=nsq-0.2.24.linux-amd64.go1.2 TORNADO_VERSION=3.0.2
- NSQ_DOWNLOAD=nsq-0.2.24.linux-amd64.go1.2 TORNADO_VERSION=3.1.1
- NSQ_DOWNLOAD=nsq-0.2.24.linux-amd64.go1.2 TORNADO_VERSION=3.2
- NSQ_DOWNLOAD=nsq-0.2.27.linux-amd64.go1.2 TORNADO_VERSION=2.4.1
- NSQ_DOWNLOAD=nsq-0.2.27.linux-amd64.go1.2 TORNADO_VERSION=3.0.2
- NSQ_DOWNLOAD=nsq-0.2.27.linux-amd64.go1.2 TORNADO_VERSION=3.1.1
- NSQ_DOWNLOAD=nsq-0.2.27.linux-amd64.go1.2 TORNADO_VERSION=3.2
- NSQ_DOWNLOAD=nsq-0.2.28.linux-amd64.go1.2.1 TORNADO_VERSION=2.4.1
- NSQ_DOWNLOAD=nsq-0.2.28.linux-amd64.go1.2.1 TORNADO_VERSION=3.0.2
- NSQ_DOWNLOAD=nsq-0.2.28.linux-amd64.go1.2.1 TORNADO_VERSION=3.1.1
- NSQ_DOWNLOAD=nsq-0.2.28.linux-amd64.go1.2.1 TORNADO_VERSION=3.2
install:
- pip install simplejson
- export PYCURL_SSL_LIBRARY=openssl
- pip install pycurl
- pip install tornado==$TORNADO_VERSION
- sudo apt-get install libsnappy-dev
- pip install python-snappy
- wget http://bitly-downloads.s3.amazonaws.com/nsq/$NSQ_DOWNLOAD.tar.gz
- tar zxvf $NSQ_DOWNLOAD.tar.gz
- sudo cp $NSQ_DOWNLOAD/bin/nsqd $NSQ_DOWNLOAD/bin/nsqlookupd /usr/local/bin
script: py.test
notifications:
email: false