forked from Princeton-CDH/django-annotator-store
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (27 loc) · 818 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.7"
- "3.5"
env:
- DJANGO=1.8 PERMISSIONS=true
- DJANGO=1.8 PERMISSIONS=false
- DJANGO=1.9 PERMISSIONS=true
- DJANGO=1.10 PERMISSIONS=true
- DJANGO=1.10 PERMISSIONS=false
- DJANGO=1.11 PERMISSIONS=true
- DJANGO=1.11 PERMISSIONS=false
before_install:
- pip install --upgrade pytest
install:
- pip install -q Django==$DJANGO
- pip install -e .
- if [[ "$PERMISSIONS" == "true" ]]; then pip install -e '.[permissions]'; else echo "[SKIPPED] install permissions"; fi
# - pip install -e '.[permissions]'
- pip install -e '.[test]'
- pip install codecov
- cp ci/testsettings.py testsettings.py
- python -c "import uuid; print('SECRET_KEY = \'%s\'' % uuid.uuid4())" >> testsettings.py
script:
- py.test --cov=annotator_store
after_success:
- codecov