Skip to content
Snippets Groups Projects
Commit 589a31ad authored by Yngve Levinsen's avatar Yngve Levinsen
Browse files

Version 2.6.0

Supporting python 3.8 as well
adding missing field maps for tests
version checker added
version checker needs all deps installed
parent 89c84750
No related branches found
No related tags found
No related merge requests found
image: registry.esss.lu.se/ics-docker/miniconda image: registry.esss.lu.se/ics-docker/miniconda
.pip_install_default: &pip_install_default
- pip install numpy scipy h5py matplotlib webdavclient3
variables: variables:
TWINE_REPOSITORY_URL: https://artifactory.esss.lu.se/artifactory/api/pypi/ics-pypi TWINE_REPOSITORY_URL: https://artifactory.esss.lu.se/artifactory/api/pypi/ics-pypi
...@@ -15,10 +16,22 @@ style_check: ...@@ -15,10 +16,22 @@ style_check:
examples: examples:
stage: test stage: test
before_script:
- *pip_install_default
script: script:
- pip install numpy scipy h5py matplotlib webdavclient3
- python tests.py -v - python tests.py -v
verify_tag:
stage: test
before_script:
- *pip_install_default
script:
- CHECKED_VERSION=`python -c "import ess;print(ess.__version__)"`
- echo "${CHECKED_VERSION} - ${CI_COMMIT_TAG}"
- if [ "${CI_COMMIT_TAG}" == "${CHECKED_VERSION}" ];then exit 0;else exit 1;fi
only:
- tags
pages: pages:
stage: deploy stage: deploy
script: script:
......
...@@ -13,4 +13,4 @@ __all__ = [ ...@@ -13,4 +13,4 @@ __all__ = [
"TTF", "TTF",
"nextcloud", "nextcloud",
] ]
__version__ = "2.5.2" __version__ = "2.6.0"
...@@ -23,6 +23,7 @@ setup( ...@@ -23,6 +23,7 @@ setup(
# that you indicate whether you support Python 2, Python 3 or both. # that you indicate whether you support Python 2, Python 3 or both.
"Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
], ],
packages=["ess"], packages=["ess"],
scripts=["scripts/tracewin", "scripts/tracewin_errorstudy", "scripts/ibsimu2tw"], scripts=["scripts/tracewin", "scripts/tracewin_errorstudy", "scripts/ibsimu2tw"],
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment