Commit e03c7672 authored by Vincent Michel's avatar Vincent Michel

CI runs tests for multiple python version

parent d578c631
Pipeline #793 passed with stages
in 1 minute and 18 seconds
before_script:
- source activate tango2.7
- conda install cffi
tests: test2.7:
stage: test stage: test
script: python setup.py test script:
- conda create -n p27 python=2.7 cffi numpy
- source activate p27
- python setup.py test
test3.6:
stage: test
script:
- conda create -n p36 python=3.6 cffi numpy
- source activate p36
- python setup.py test
artifacts: artifacts:
paths: paths:
- htmlcov/ - htmlcov/
expire_in: 7 days expire_in: 7 days
pages: pages:
stage: deploy stage: deploy
script: script:
......
...@@ -11,7 +11,7 @@ setup( ...@@ -11,7 +11,7 @@ setup(
version='0.1.0.dev0', version='0.1.0.dev0',
packages=['handel'], packages=['handel'],
install_requires=['cffi'], install_requires=['cffi', 'numpy'],
setup_requires=['pytest-runner', 'pytest'] if TESTING else [], setup_requires=['pytest-runner', 'pytest'] if TESTING else [],
tests_require=['pytest-cov', 'mock'], tests_require=['pytest-cov', 'mock'],
......
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