-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
37 lines (34 loc) · 1.21 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
language: python
python:
# - "2.7"
# - "3.2"
# - "3.3"
- "3.4"
# - "nightly"
env:
- DJANGO_VERSION=1.7
- DJANGO_VERSION=1.8
install:
- pip install -q Django==$DJANGO_VERSION --use-mirrors
- pip install flake8 --use-mirrors
- pip install coveralls --use-mirrors
- pip install -q -r requirements.txt --use-mirrors
before_script:
- flake8 getresults_dst
# Allow us to SSH passwordless to localhost
- ssh-keygen -f ~/.ssh/id_rsa -N ""
- cp ~/.ssh/{id_rsa.pub,authorized_keys}
# Creation of an SSH agent for testing forwarding
- eval $(ssh-agent)
- ssh-add
script:
- mkdir -p /home/travis/build/botswana-harvard/getresults-distribute/getresults_dst/testdata/upload/
- mkdir -p /home/travis/build/botswana-harvard/getresults-distribute/getresults_dst/testdata/archive/
- mkdir -p /home/travis/build/botswana-harvard/getresults-distribute/getresults_dst/testdata/outbox
- mkdir -p /home/travis/build/botswana-harvard/getresults-distribute/getresults_dst/testdata/viral_load
- mkdir -p /home/travis/getresults_files/upload
- mkdir -p /home/travis/getresults_files/archive
- mkdir -p /home/travis/viral_load
- coverage run --source=getresults_dst manage.py test
after_success:
- coveralls