forked from chop-dbhi/varify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (35 loc) · 1.07 KB
/
.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
35
36
37
38
39
40
41
42
43
language: python
python:
- "2.6"
- "2.7"
env:
- DJANGO=1.4.15
before_install:
- env | sort
- sudo apt-get update -qq
- sudo apt-get install -qq python-yaml
- git remote add upstream git://github.com/cbmi/varify.git
- upstream=master;
if [ "$TRAVIS_PULL_REQUEST" != false ]; then
upstream=$TRAVIS_BRANCH;
fi;
git fetch --append --no-tags upstream refs/heads/$upstream:refs/remotes/upstream/$upstream
- /usr/bin/python bin/check_signoff.py
install:
- pip install -q coveralls Django==$DJANGO --use-mirrors
- pip install -r requirements.txt
- "if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors cython && pip install --use-mirrors pysam argparse counter ordereddict importlib; fi"
- pip install flake8
- pip install httpretty
- npm install jshint
services:
- memcached
- redis-server
before_script:
- flake8
- jshint varify/static/js/src/
- psql -c 'create database varifydb;' -U postgres
script:
- coverage run test_suite.py
after_success:
- coveralls