forked from wemake-services/django-split-settings
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (33 loc) · 727 Bytes
/
.travis.yml
File metadata and controls
39 lines (33 loc) · 727 Bytes
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
language: python
python:
- 3.5 # fix for the "`python3.5` is not found"
env:
- TOX_ENV=py27-dj15
- TOX_ENV=py27-dj16
- TOX_ENV=py27-dj17
- TOX_ENV=py27-dj18
- TOX_ENV=py27-dj19
- TOX_ENV=py34-dj16
- TOX_ENV=py34-dj17
- TOX_ENV=py34-dj18
- TOX_ENV=py34-dj19
- TOX_ENV=py35-dj18
- TOX_ENV=py35-dj19
- TOX_ENV=lint
- TOX_ENV=cover
install:
- pip install tox
script:
- tox -e $TOX_ENV
deploy:
provider: pypi
user: sobolevn
password: $PYPI_PASSWORD # password is hidden
on:
branch: master # only in master branch
tags: true # deploy on tags only
condition: "${TOX_ENV} == 'cover'" # deploy only once
notifications:
email:
on_success: never
on_failure: change