mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
os: linux
|
|
dist: xenial
|
|
language: python
|
|
python:
|
|
- 3.4
|
|
- 3.5
|
|
- 3.6
|
|
- 3.7
|
|
- 3.8
|
|
|
|
env:
|
|
- DJANGO=1.11
|
|
- DJANGO=2.2
|
|
- DJANGO=3.0
|
|
|
|
install:
|
|
- pip install tox-travis
|
|
script:
|
|
- tox
|
|
|
|
stages:
|
|
- lint
|
|
- test
|
|
- deploy
|
|
|
|
jobs:
|
|
allow_failures:
|
|
- env: TOXENV=bandit
|
|
exclude:
|
|
# Python/Django combinations that aren't officially supported
|
|
- { stage: test, python: 3.4, env: DJANGO=2.2 }
|
|
- { stage: test, python: 3.4, env: DJANGO=3.0 }
|
|
- { stage: test, python: 3.5, env: DJANGO=3.0 }
|
|
- { stage: test, python: 3.8, env: DJANGO=1.11 }
|
|
include:
|
|
- { stage: lint, python: 3.7, env: TOXENV=flake8 }
|
|
- { stage: lint, python: 3.7, env: TOXENV=bandit }
|
|
- { stage: lint, python: 3.7, env: TOXENV=readme }
|
|
- { stage: test, python: 2.7, env: DJANGO=1.11 }
|
|
- stage: deploy
|
|
if: tag is present
|
|
deploy:
|
|
provider: pypi
|
|
server: https://jazzband.co/projects/django-analytical/upload
|
|
distributions: sdist bdist_wheel
|
|
username: jazzband
|
|
password:
|
|
secure: JCr5hRjAeXuiISodCJf8HWd4BTJMpl2eiHI8NciPaSM9WwOOeUXxmlcP8+lWlXxgM4BYUC/O7Q90fkwj5x06n+z4oyJSEVerTvCDcpeZ68KMMG1tR1jTbHcxfEKoEvcs2J0fThJ9dIMtfbtUbIpzusJHkZPjsIy8HAJDw8knnJs=
|
|
on:
|
|
tags: true
|
|
repo: jazzband/django-analytical
|
|
env:
|
|
install: skip
|
|
script: skip
|
|
python: 3.7
|