forked from dimagi/commcare-hq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 900 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
language: python
python:
- "2.6"
env:
- CFLAGS=-O0
branches:
only:
- master
- django-1.5-build
install:
- "uname -a"
- "lsb_release -a"
- "sudo apt-get install moreutils libblas-dev liblapack-dev"
- "bash -ex .travis/upgrade-couchdb.sh | ts"
- "git clone https://github.com/dimagi/commcarehq-venv.git"
- "cp -r commcarehq-venv/hq_env/* ~/virtualenv/"
- "source ~/virtualenv/bin/activate"
- "time (bash -e .travis/quietly-run-install.sh | ts)"
- "time (pip install --exists-action w -r requirements/requirements.txt --use-mirrors)"
- "time (bash -e .travis/misc-setup.sh | ts)"
- "cp .travis/localsettings.py localsettings.py"
- "pip install coverage unittest2 mock --use-mirrors"
script: "coverage run manage.py test --noinput --failfast"
after_success:
- coverage report
- coveralls
services:
- postgresql
- couchdb
- rabbitmq
- elasticsearch
- memcache
- redis-server