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
Nick Travis 4fea9955a2
minor cleanup
- pip cache auto-config
- generic python 3.6 instead of specific version
- remove the python version requirement from the push since we are only building one version
2020-01-14 14:58:43 -05:00

26 lines
442 B
YAML

language: python
python:
- 3.6
cache:
pip: true
env:
global:
- PACKAGE_NAME=wagtail-draftail-snippet
- PIP_INDEX_URL=$PYPI_URL+simple/
install:
- pip install -U pip
- pip install .
- pip install pytest
script:
- pytest
deploy:
provider: pypi
server: $PYPI_URL
upload_docs: false
user: travisci
on:
tags: true
password:
secure: $TRAVIS_CI_PASSWORD
after_deploy:
- curl -X POST "$PIP_INDEX_URL$PACKAGE_NAME/refresh"