forked from jazzband/django-analytical
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
57 lines (51 loc) · 1.18 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
dist: xenial
sudo: true
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
env:
- DJANGO=1.11
- DJANGO=2.1
- DJANGO=2.2
matrix:
allow_failures:
- env: TOXENV=bandit
exclude:
# Python/Django combinations that aren't officially supported
- { env: DJANGO=1.11, python: 3.7 }
- { env: DJANGO=2.1, python: 2.7 }
- { env: DJANGO=2.1, python: 3.4 }
- { env: DJANGO=2.2, python: 2.7 }
- { env: DJANGO=2.2, python: 3.4 }
install:
- pip install tox-travis
script:
- tox
stages:
- lint
- test
- deploy
jobs:
include:
- { stage: lint, env: TOXENV=flake8, python: 3.7 }
- { stage: lint, env: TOXENV=bandit, python: 3.7 }
- { stage: lint, env: TOXENV=readme, python: 3.7 }
- stage: deploy
env:
python: 3.7
install: skip
script: skip
deploy:
provider: pypi
server: https://jazzband.co/projects/django-analytical/upload
distributions: sdist bdist_wheel
user: jazzband
password:
secure: JCr5hRjAeXuiISodCJf8HWd4BTJMpl2eiHI8NciPaSM9WwOOeUXxmlcP8+lWlXxgM4BYUC/O7Q90fkwj5x06n+z4oyJSEVerTvCDcpeZ68KMMG1tR1jTbHcxfEKoEvcs2J0fThJ9dIMtfbtUbIpzusJHkZPjsIy8HAJDw8knnJs=
on:
tags: true
repo: jazzband/django-analytical