forked from dj-stripe/dj-stripe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (48 loc) · 1.01 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
# https://travis-ci.org/kavdev/dj-stripe/
sudo: false
language: python
python: "3.6"
addons:
postgresql: "9.4"
env:
- TOXENV=py27-django110
- TOXENV=py27-django111
- TOXENV=py34-django110
- TOXENV=py34-django111
- TOXENV=py35-django110
- TOXENV=py35-django111
- TOXENV=py36-django111
- TOXENV=flake8
matrix:
fast_finish: true
include:
- python: "3.5"
env: TOXENV=py35-django110
- python: "3.5"
env: TOXENV=py35-django111
exclude:
- python: "3.6"
env: TOXENV=py35-django110
- python: "3.6"
env: TOXENV=py35-django111
allow_failures:
- env: TOXENV=py27-django111
- env: TOXENV=py34-django111
- env: TOXENV=py35-django111
- env: TOXENV=py36-django111
cache:
directories:
- $HOME/.cache/pip
- $TRAVIS_BUILD_DIR/.tox
install:
- pip install tox codecov
before_script:
- psql -U postgres -c 'CREATE DATABASE "djstripe";'
script:
- tox
after_success:
codecov
notifications:
email:
on_failure: always
on_success: change