forked from django-oscar/django-oscar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
80 lines (64 loc) · 1.72 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
dist: xenial
sudo: false
language: python
addons:
postgresql: "9.6"
apt_packages:
- enchant
matrix:
fast_finish: true
include:
- python: 3.5
env: TOXENV=py35-django111
- python: 3.6
env: TOXENV=py36-django111
- python: 3.7
env: TOXENV=py37-django111
- python: 3.5
env: TOXENV=py35-django21
- python: 3.6
env: TOXENV=py36-django21
- python: 3.7
env: TOXENV=py37-django21
- python: 3.5
env: TOXENV=py35-django22
- python: 3.6
env: TOXENV=py36-django22
- python: 3.7
env: TOXENV=py37-django22
- python: 3.6
env: TOXENV=py36-djangomaster
- python: 3.6
env: TOXENV=lint
- python: 3.5
env: TOXENV=sandbox
- python: 3.6
env: TOXENV=docs
allow_failures:
- env: TOXENV=py36-djangomaster
branches:
only:
- master
- /^releases.*$/
env:
global:
# $TRANSIFEX_PASSWORD - Transifex API key (used in transifex.sh)
- secure: fFOuN7cZxN74zVN6tkxwr9Kby4qxC0AxV+jvcT5HVaQ1sSl0L5SxRA7EzgCSTbkz3QjCVFrQfEvGflqTWCFqtF4ou2S9ip7Nhhs+TjsDqErhyAOodqwacp0DSzjlvPBx7AVyajdzV9iHtHrcLHyS9v5aaeCGQ4RXIqRntcM4l/c=
# These two environment variables could be set by Travis itself, or Travis
# could configure itself in /etc/, ~/, or inside of the virtual
# environments. In any case if these two values get configured then end
# users only need to enable the pip cache and manually run pip wheel before
# running pip install.
- PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
- PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
before_cache:
- rm -rf $HOME/.cache/pip/log
cache:
directories:
- $HOME/.cache/pip
install:
- pip install tox codecov
script:
- tox
after_success:
- codecov