Skip to content
Snippets Groups Projects
Commit 0cabdb7d authored by ViaFerrata's avatar ViaFerrata
Browse files

Fix CI.

parent 87d740e2
No related branches found
No related tags found
No related merge requests found
stages:
- test
- doc
- release
before_script: before_script:
- apt-get update -qq && apt-get install -y -qq libhdf5-dev - apt-get update -qq && apt-get install -y -qq libhdf5-dev
- pip install -U pip setuptools wheel numpy - pip install -U pip setuptools wheel numpy
- pip install . - pip install .
test: test:
image: python:3.7.0 image: docker.km3net.de/base/python:3
stage: test
script: script:
- echo narf - echo narf
pages: pages:
image: python:3.7.0 image: docker.km3net.de/base/python:3
stage: doc
script: script:
- cd docs && make html - cd docs && make html
- mv _build/html/ ../public/ - mv _build/html/ ../public/
...@@ -19,6 +26,7 @@ pages: ...@@ -19,6 +26,7 @@ pages:
pypi: pypi:
image: docker.km3net.de/base/python:3 image: docker.km3net.de/base/python:3
stage: release
cache: {} cache: {}
script: script:
- pip install -U twine - pip install -U twine
......
...@@ -4,3 +4,4 @@ matplotlib ...@@ -4,3 +4,4 @@ matplotlib
km3pipe km3pipe
docopt docopt
toml toml
setuptools_scm
...@@ -21,6 +21,12 @@ setup( ...@@ -21,6 +21,12 @@ setup(
'write_to': 'orcasong/version.txt', 'write_to': 'orcasong/version.txt',
'tag_regex': r'^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$', 'tag_regex': r'^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$',
}, },
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Programming Language :: Python',
]
) )
......
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