-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
56 lines (48 loc) · 1.08 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
language: python
sudo: false
dist: bionic # 18.04
if: (type = push AND branch IN (master)) OR (type = pull_request)
matrix:
fast_finish: true
include:
- python: 2.7
env: TOXENV=py27-flake8
- python: 3.6
env: TOXENV=py36-flake8
- python: 2.7
env: TOXENV=py27-isort
- python: 3.6
env: TOXENV=py36-isort
- python: 3.6
env: TOXENV=py36-dj22
- python: 3.6
env: TOXENV=py36-dj30
- python: 3.6
env: TOXENV=py36-djmaster
allow_failures:
- python: 3.6
env: TOXENV=py36-djmaster
cache:
- apt
- pip
install:
- pip install tox
script:
- tox
after_success:
- pip install codecov
- codecov
deploy:
provider: pypi
user: hellysmile
password:
secure: "MtYn/E/iO27Vhq8UNYjM7kcLUkKSG19ZVyysZAjoQQHaD7NE6Rc0nrQm6eG6n4LTy3IFKi79o9gDDwayFPSnId7gzGIxpF3tvnzfvM8za6a2tBJOl/J+x1anXwAyX4ifVmH3kkuLfpjch+ruAvU4+xex6U4IRiKg06yr3/DoJs8="
distributions: sdist bdist_wheel
on:
tags: true
all_branches: true
python: 3.6
condition: $TOXENV = py36-dj20
notifications:
email:
on_success: never