Commit c14f4f3f authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Fix broken test

parent d4aff61f
......@@ -24,11 +24,18 @@ before_script:
- virtualenv venv
- source venv/bin/activate
stages:
- test
- bundle
- deploy
test:
stage: test
script:
- python setup.py test
run:
stage: bundle
script:
- python setup.py bdist_wheel
# an alternative approach is to install and run:
......@@ -39,6 +46,7 @@ run:
- dist/*.whl
pages:
stage: deploy
script:
- pip install sphinx sphinx-rtd-theme
- python setup.py build_sphinx
......
......@@ -181,8 +181,14 @@ def read_features(entry):
else:
feature['end'] = end.attrib['status']
feature['begin'] = int(feature['begin'])
feature['end'] = int(feature['end'])
if feature['begin'] is not 'unknown':
feature['begin'] = None
else:
feature['begin'] = int(feature['begin'])
if feature['end'] is not 'unknown':
feature['end'] = None
else:
feature['end'] = int(feature['end'])
features.append (feature)
return features
......
Supports Markdown
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