forked from aohan237/asyncnsq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (28 loc) · 915 Bytes
/
.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
31
32
33
34
language: python
python:
- 3.5
- 3.6
env:
- NSQ_DOWNLOAD=nsq-0.2.30.linux-amd64.go1.2.1
install:
- pip install simplejson
- export PYCURL_SSL_LIBRARY=openssl
- pip install pycurl
- 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
install:
- 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
- pip install pyflakes
- pip install pep8
- pip install -e .
script:
- pyflakes asyncnsq tests
- pep8 asyncnsq tests
- python runtests.py -v