Fix dependencies

This commit is contained in:
jpic 2020-04-21 21:54:39 +02:00
parent 4601ead8f8
commit 111f086bdd
2 changed files with 4 additions and 5 deletions

View File

@ -3,13 +3,13 @@ build:
key: cache
paths: [.cache]
image: yourlabs/shlax
script: pip install -U --user -e . && CACHE_DIR=$(pwd)/.cache ./shlaxfile.py build
script: pip install -U --user -e .[cli] && CACHE_DIR=$(pwd)/.cache ./shlaxfile.py build
stage: build
test:
image: yourlabs/python
stage: build
script: pip install -U --user -e . && py.test -sv tests
script: pip install -U --user -e .[test] && py.test -sv tests
pypi:
image: yourlabs/python

View File

@ -5,10 +5,9 @@ setup(
name='shlax',
versioning='dev',
setup_requires='setupmeta',
install_requires=['cli2'],
extras_require=dict(
full=[
'pyyaml',
cli=[
'cli2',
],
test=[
'pytest',