url-abuse/.travis.yml

43 lines
744 B
YAML
Raw Normal View History

2015-10-29 14:26:44 +01:00
language: python
python:
- "2.7"
2015-10-29 15:33:15 +01:00
sudo: required
addons:
apt:
packages:
- parallel
2015-10-29 14:26:44 +01:00
install:
2015-10-29 15:33:15 +01:00
- git clone git://github.com/stricaud/faup.git
2015-10-29 16:03:54 +01:00
- pushd faup/build
2015-10-29 15:33:15 +01:00
- cmake .. && make
- sudo make install
- sudo ldconfig
2015-10-29 15:43:56 +01:00
- popd
2015-10-29 16:14:24 +01:00
- pushd faup/src/lib/bindings/python
2015-10-29 16:03:54 +01:00
- python setup.py install
2015-10-29 15:43:56 +01:00
- popd
2015-10-29 14:26:44 +01:00
- pip install -r requirements.txt
2016-01-19 14:48:32 +01:00
- pushd uwhoisd
- python setup.py install
- popd
2015-10-29 14:26:44 +01:00
- pip install coveralls
- pip install codecov
- cp config.ini.sample config.ini
2015-10-29 16:11:42 +01:00
before_script:
- redis-server /etc/redis/redis.conf --port 6334 --daemonize yes
2015-10-29 14:26:44 +01:00
script:
2015-10-29 17:07:15 +01:00
- ./worker.py &
- ./runapp.py &
- sleep 30
after_success:
- coveralls
- codecov