From be445da6b6fb78608f19c21d8b0b9e98ba13595a Mon Sep 17 00:00:00 2001 From: Adam Hill Date: Wed, 1 Apr 2020 13:40:57 -0400 Subject: [PATCH] Update travis-ci configuration. --- .travis.yml | 20 +++++++------------- CHANGELOG.md | 7 +++++-- pyproject.toml | 2 +- setup.py | 2 +- 4 files changed, 14 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 297bad6..8b8ba9d 100644 --- a/.travis.yml +++ b/.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" diff --git a/CHANGELOG.md b/CHANGELOG.md index 60633e8..6f62ab0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 0d9a814..24980d8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 ", "Adam Hill "] repository = "https://github.com/themotleyfool/wagtail-draftail-snippet" diff --git a/setup.py b/setup.py index 031c12f..9b38e89 100644 --- a/setup.py +++ b/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={