Commit de3b859f authored by Seb's avatar Seb
Browse files

update testing environments

parent 2fe3bfdf
...@@ -3,7 +3,6 @@ stages: ...@@ -3,7 +3,6 @@ stages:
- lint - lint
- release - release
.python_test: .python_test:
stage: test stage: test
script: script:
...@@ -17,42 +16,40 @@ head: ...@@ -17,42 +16,40 @@ head:
before_script: before_script:
- pip install .['testing'] - pip install .['testing']
lts_27:
extends: .python_test
image: python:3.7
before_script:
- pip install .['testing'] wagtail~=2.7 django~=2.2
lts_211: lts_211:
image: python:3.8 image: python:3.8
extends: .python_test extends: .python_test
before_script: before_script:
- pip install .['testing'] wagtail~=2.11 django~=3.1 - pip install .['testing'] wagtail~=2.11 django~=3.1
lts_215:
image: python:3.10
before_script:
- pip install .['testing'] wagtail~=2.15 django~=4.0
flake8: flake8:
stage: lint stage: lint
image: python:3.8 image: python:3.8
before_script: before_script:
- pip install flake8 - pip install flake8
script: script:
- flake8 wagtailvideos/ tests/ - flake8 wagtailvideos/ tests/
isort: isort:
stage: lint stage: lint
image: python:3.8 image: python:3.8
before_script: before_script:
- pip install isort -e . - pip install isort -e .
script: script:
- isort --recursive --diff --check-only wagtailvideos/ tests/ - isort --recursive --diff --check-only wagtailvideos/ tests/
build: build:
image: python:3.8 image: python:3.8
stage: release stage: release
before_script: before_script:
- pip install --upgrade setuptools wheel twine - pip install --upgrade setuptools wheel twine
script: script:
- ./setup.py sdist bdist_wheel - ./setup.py sdist bdist_wheel
- twine upload dist/* - twine upload dist/*
only: only:
- tags - tags
...@@ -10,7 +10,7 @@ from setuptools import find_packages, setup # noqa: E4 ...@@ -10,7 +10,7 @@ from setuptools import find_packages, setup # noqa: E4
setup( setup(
name='wagtailvideos', name='wagtailvideos',
version='2.10.9', version='2.11.0',
description="A wagtail module for uploading and displaying videos in various codecs.", description="A wagtail module for uploading and displaying videos in various codecs.",
long_description=readme, long_description=readme,
author='Neon Jungle', author='Neon Jungle',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment