Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Wagtail Videos
Commits
de3b859f
Commit
de3b859f
authored
May 16, 2022
by
Seb
Browse files
update testing environments
parent
2fe3bfdf
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
de3b859f
...
@@ -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
setup.py
View file @
de3b859f
...
@@ -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.1
0.9
'
,
version
=
'2.1
1.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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment