-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy path.travis.yml
52 lines (42 loc) · 1.23 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
# Config file for automatic testing at travis-ci.org
language: python
python:
- "3.5"
- "3.4"
env:
- DJANGO_VERSION=1.8.17
- DJANGO_VERSION=1.9.12
- DJANGO_VERSION=1.10.6
matrix:
include:
- python: "3.3"
env: DJANGO_VERSION=1.8.17
- python: "3.5"
env: TEST_PEP8=True
install: pip install flake8
script: flake8 konfera payments
before_install:
- pip install codecov
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -q Django==$DJANGO_VERSION
- pip install coverage==4.2
- pip install fiobank==1.2.0
- pip install paypalrestsdk==1.12.0
- pip install django-wkhtmltopdf==3.1.0
- pip install Pillow==3.4.2
# command to run tests using coverage, e.g. python setup.py test
script: coverage run --source konfera runtests.py
after_success:
- codecov
notifications:
webhooks:
urls:
- "https://webhooks.gitter.im/e/2f5f7550882030346bca"
- "https://scalar.vector.im/api/neb/services/hooks/dHJhdmlzLWNpLyU0MHJpY2NvJTNBcHl0aG9uLnNrLyUyMUdWc25RR3VQeXlTcW91enhiVyUzQXB5dGhvbi5zaw"
on_success: change
on_failure: always
on_start: never
slack:
rooms:
- pyconsk:itD3xMGpyFdaNubLLCwwFinz#django-konfera