forked from WPI-LNL/lnldb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (33 loc) · 973 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
34
35
36
37
38
39
40
sudo: false
language: python
cache:
directories:
- $HOME/.pip-cache/
python:
- "2.7"
- "3.6"
env:
- DJANGO="Django<2>1.11"
- DJANGO="Django>2"
- DJANGO="https://github.com/django/django/archive/master.tar.gz"
install:
- pip install --upgrade pip
- pip install --cache-dir $HOME/.pip-cache -r requirements_debug.txt
- pip install $DJANGO
script:
- coverage run --source=. --omit="*/migrations/*" manage.py test
# - pep8 --exclude="*/migrations/*",".ropeproject/*" --ignore=E501,W292,E265,E266,E402,E126 .
after_success:
coveralls
matrix:
exclude:
- python: "2.7"
env: DJANGO="Django>2"
- python: "2.7"
env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
allow_failures:
- python: "3.6"
env: DJANGO="https://github.com/django/django/archive/master.tar.gz"
- python: "3.6"
env: DJANGO="Django>2"
fast_finish: true