1
Fork 0
This repository has been archived on 2024-07-16. You can view files and clone it, but cannot push or open issues or pull requests.
wagtail-draftail-snippet/.travis.yml

27 lines
492 B
YAML
Raw Normal View History

2020-01-14 19:08:14 +00:00
language: python
python:
- 3.6
2020-01-14 19:08:14 +00:00
cache:
pip: true
2020-01-14 19:08:14 +00:00
env:
global:
- PACKAGE_NAME=wagtail-draftail-snippet
- PIP_INDEX_URL=$PYPI_URL+simple/
install:
- pip install -U pip
- pip install .
2020-02-13 12:23:35 +00:00
- pip install pytest pytest-django pytest-pythonpath wagtail-factories
2020-01-14 19:08:14 +00:00
script:
- pytest
deploy:
provider: pypi
server: $PYPI_URL
upload_docs: false
2020-01-14 19:08:14 +00:00
user: travisci
on:
tags: true
password:
secure: $TRAVIS_CI_PASSWORD
after_deploy:
- curl -X POST "$PIP_INDEX_URL$PACKAGE_NAME/refresh"