-
Notifications
You must be signed in to change notification settings - Fork 64
/
.travis.yml
37 lines (37 loc) · 856 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
language: python
addons:
apt:
packages:
- rabbitmq-server
services:
- redis-server
- mongodb
- rabbitmq-server
install:
- pip install --quiet --upgrade pip
- pip install -r test-requirements.txt
- pip install numpy scipy
- pip install .
- pip install -q $DJANGO
before_script:
- "export PYTHONPATH=$TRAVIS_BUILD_DIR:$PYTHONPATH;"
- "django-admin.py version;"
- "flake8 --exclude=docs,south_migrations,tests,tasks --ignore=E501,E123,E124,E126,E127,E128 --statistics .;"
python:
- "3.6"
- "3.7"
- "3.8"
env:
- DJANGO="Django>=1.11,<2.0"
- DJANGO="Django>=2.0,<2.1"
- DJANGO="Django>=2.1,<2.2"
jobs:
exclude:
- python: "3.7"
env: DJANGO="Django>=1.11,<2.0"
- python: "3.8"
env: DJANGO="Django>=1.11,<2.0"
script: python recommends/tests/runtests.py
after_failure:
- env
- cat $PYTHONPATH