forked from Roman215/ircdd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (23 loc) · 899 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
language: python
python:
- "2.7"
# install dependencies
install:
# install rethinkdb
- source /etc/lsb-release && echo "deb http://download.rethinkdb.com/apt $DISTRIB_CODENAME main" | sudo tee /etc/apt/sources.list.d/rethinkdb.list
- wget -qO- http://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -
- sudo apt-get update -q
- sudo apt-get install rethinkdb --force-yes
# install NSQ
- sudo wget "https://s3.amazonaws.com/bitly-downloads/nsq/nsq-0.2.31.linux-amd64.go1.3.1.tar.gz"
- sudo tar -xf nsq-0.2.31.linux-amd64.go1.3.1.tar.gz
- sudo cp nsq-0.2.31.linux-amd64.go1.3.1/bin/* /bin
# install app
- sudo python setup.py install
# run the tests
script:
- sudo rethinkdb --daemon
- sudo nsqlookupd&
- sudo nsqd --lookupd-tcp-address="127.0.0.1:4160" &
- sudo python setup.py flake8
- sudo python setup.py nosetests