language: python
python:
- 3.7
- 3.8
- 3.9
cache: pip
jobs:
fast_finish: true
allow_failures:
- python: 3.8
- python: 3.9
install:
- pip install -U pip setuptools
- pip install .
- pip install pytest pytest-django pytest-pythonpath wagtail-factories
script:
- pytest
deploy:
provider: pypi
server: $PYPI_URL
user: "__token__"
password: $PYPI_TOKEN
skip_existing: true
on:
tags: true