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
|
language: python
|
||||||
python:
|
python:
|
||||||
- 3.6
|
- 3.6
|
||||||
cache:
|
- 3.7
|
||||||
pip: true
|
- 3.8
|
||||||
env:
|
cache: pip
|
||||||
global:
|
|
||||||
- PACKAGE_NAME=wagtail-draftail-snippet
|
|
||||||
- PIP_INDEX_URL=$PYPI_URL+simple/
|
|
||||||
install:
|
install:
|
||||||
- pip install -U pip
|
- pip install -U pip setuptools
|
||||||
- pip install .
|
- pip install .
|
||||||
- pip install pytest pytest-django pytest-pythonpath wagtail-factories
|
- pip install pytest pytest-django pytest-pythonpath wagtail-factories
|
||||||
script:
|
script:
|
||||||
|
@ -16,11 +13,8 @@ script:
|
||||||
deploy:
|
deploy:
|
||||||
provider: pypi
|
provider: pypi
|
||||||
server: $PYPI_URL
|
server: $PYPI_URL
|
||||||
upload_docs: false
|
user: "__token__"
|
||||||
user: travisci
|
password: $PYPI_TOKEN
|
||||||
|
skip_existing: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
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
|
# 0.2.2
|
||||||
Initial release.
|
Update travis-ci configuration.
|
||||||
|
|
||||||
# 0.2.0
|
# 0.2.0
|
||||||
Add edit and remove tooltip in the editor to the linked snippet.
|
Add edit and remove tooltip in the editor to the linked snippet.
|
||||||
|
|
||||||
|
# 0.1.2
|
||||||
|
Initial release.
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "wagtail-draftail-snippet"
|
name = "wagtail-draftail-snippet"
|
||||||
version = "0.2.1"
|
version = "0.2.2"
|
||||||
description = "Associate RichTextBlock text content to a snippet model."
|
description = "Associate RichTextBlock text content to a snippet model."
|
||||||
authors = ["Parbhat Puri <me@parbhatpuri.com>", "Adam Hill <ahill@fool.com>"]
|
authors = ["Parbhat Puri <me@parbhatpuri.com>", "Adam Hill <ahill@fool.com>"]
|
||||||
repository = "https://github.com/themotleyfool/wagtail-draftail-snippet"
|
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(
|
setup(
|
||||||
long_description=readme,
|
long_description=readme,
|
||||||
name='wagtail-draftail-snippet',
|
name='wagtail-draftail-snippet',
|
||||||
version='0.2.0',
|
version='0.2.2',
|
||||||
description='Associate RichTextBlock text content to a snippet model.',
|
description='Associate RichTextBlock text content to a snippet model.',
|
||||||
python_requires='==3.*,>=3.6.0',
|
python_requires='==3.*,>=3.6.0',
|
||||||
project_urls={
|
project_urls={
|
||||||
|
|
Reference in a new issue