Update travis-ci configuration.
This commit is contained in:
parent
cf84e4aa4a
commit
be445da6b6
4 changed files with 14 additions and 17 deletions
20
.travis.yml
20
.travis.yml
|
@ -1,14 +1,11 @@
|
|||
language: python
|
||||
python:
|
||||
- 3.6
|
||||
cache:
|
||||
pip: true
|
||||
env:
|
||||
global:
|
||||
- PACKAGE_NAME=wagtail-draftail-snippet
|
||||
- PIP_INDEX_URL=$PYPI_URL+simple/
|
||||
- 3.7
|
||||
- 3.8
|
||||
cache: pip
|
||||
install:
|
||||
- pip install -U pip
|
||||
- pip install -U pip setuptools
|
||||
- pip install .
|
||||
- pip install pytest pytest-django pytest-pythonpath wagtail-factories
|
||||
script:
|
||||
|
@ -16,11 +13,8 @@ script:
|
|||
deploy:
|
||||
provider: pypi
|
||||
server: $PYPI_URL
|
||||
upload_docs: false
|
||||
user: travisci
|
||||
user: "__token__"
|
||||
password: $PYPI_TOKEN
|
||||
skip_existing: true
|
||||
on:
|
||||
tags: true
|
||||
password:
|
||||
secure: $TRAVIS_CI_PASSWORD
|
||||
after_deploy:
|
||||
- curl -X POST "$PIP_INDEX_URL$PACKAGE_NAME/refresh"
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
# 0.1.2
|
||||
Initial release.
|
||||
# 0.2.2
|
||||
Update travis-ci configuration.
|
||||
|
||||
# 0.2.0
|
||||
Add edit and remove tooltip in the editor to the linked snippet.
|
||||
|
||||
# 0.1.2
|
||||
Initial release.
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "wagtail-draftail-snippet"
|
||||
version = "0.2.1"
|
||||
version = "0.2.2"
|
||||
description = "Associate RichTextBlock text content to a snippet model."
|
||||
authors = ["Parbhat Puri <me@parbhatpuri.com>", "Adam Hill <ahill@fool.com>"]
|
||||
repository = "https://github.com/themotleyfool/wagtail-draftail-snippet"
|
||||
|
|
2
setup.py
2
setup.py
|
@ -21,7 +21,7 @@ if os.path.exists(readme_path):
|
|||
setup(
|
||||
long_description=readme,
|
||||
name='wagtail-draftail-snippet',
|
||||
version='0.2.0',
|
||||
version='0.2.2',
|
||||
description='Associate RichTextBlock text content to a snippet model.',
|
||||
python_requires='==3.*,>=3.6.0',
|
||||
project_urls={
|
||||
|
|
Reference in a new issue