-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy path.travis.yml
32 lines (32 loc) · 861 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
language: python
sudo: false
env:
- DB=postgres
- DB=sqlite3
services:
- postgresql
- redis-server
python:
- "2.7"
addons:
apt:
packages:
- python-pgmagick
- libgraphicsmagick++1-dev
- libboost-python-dev
- python-pgmagick
- postgresql-client
install:
- wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.4.1/elasticsearch-2.4.1.tar.gz
- tar -xzf elasticsearch-2.4.1.tar.gz
- ./elasticsearch-2.4.1/bin/elasticsearch &
- pip install -r requirements.txt
- pip install coveralls
- pip install psycopg2
# command to run tests
script:
- wget -q --waitretry=1 --retry-connrefused -T 10 -O - http://127.0.0.1:9200
- coverage run manage.py test --noinput
- coverage report -m
after_script:
- coveralls --verbose