Remove volumes from drone and fix test
This commit is contained in:
parent
a9f43afc8f
commit
7722aaf956
|
@ -13,8 +13,6 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- pip install tox
|
- pip install tox
|
||||||
- tox -e "${TOXENV}-${DATABASE}"
|
- tox -e "${TOXENV}-${DATABASE}"
|
||||||
volumes:
|
|
||||||
- cache:/root/.cache
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
postgresql:
|
postgresql:
|
||||||
|
|
|
@ -5,6 +5,7 @@ include CHANGELOG
|
||||||
include LICENSE
|
include LICENSE
|
||||||
include tryton.cfg
|
include tryton.cfg
|
||||||
include *.xml
|
include *.xml
|
||||||
|
include *.csv
|
||||||
include view/*.xml
|
include view/*.xml
|
||||||
include locale/*.po
|
include locale/*.po
|
||||||
include doc/*
|
include doc/*
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -73,7 +73,7 @@ setup(name='%s_%s' % (PREFIX, MODULE),
|
||||||
package_data={
|
package_data={
|
||||||
'trytond.modules.%s' % MODULE: (info.get('xml', [])
|
'trytond.modules.%s' % MODULE: (info.get('xml', [])
|
||||||
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', '*.odt',
|
+ ['tryton.cfg', 'view/*.xml', 'locale/*.po', '*.odt',
|
||||||
'icons/*.svg', 'tests/*.rst']),
|
'icons/*.svg', 'tests/*.rst', '*.csv']),
|
||||||
},
|
},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
'Development Status :: 5 - Production/Stable',
|
'Development Status :: 5 - Production/Stable',
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
#This file is part bank_es module for Tryton.
|
# This file is part bank_es module for Tryton.
|
||||||
#The COPYRIGHT file at the top level of this repository contains
|
# The COPYRIGHT file at the top level of this repository contains
|
||||||
#the full copyright notices and license terms.
|
# the full copyright notices and license terms.
|
||||||
|
try:
|
||||||
from .test_country_zip_es import suite
|
from trytond.modules.country_zip_es.tests.test_country_zip_es import suite
|
||||||
|
except ImportError:
|
||||||
|
from .test_country_zip_es import suite
|
||||||
|
|
||||||
__all__ = ['suite']
|
__all__ = ['suite']
|
||||||
|
|
2
tox.ini
2
tox.ini
|
@ -15,4 +15,4 @@ setenv =
|
||||||
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
|
sqlite: DB_NAME={env:SQLITE_NAME::memory:}
|
||||||
postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
|
postgresql: DB_NAME={env:POSTGRESQL_NAME:test}
|
||||||
mysql: DB_NAME={env:MYSQL_NAME:test}
|
mysql: DB_NAME={env:MYSQL_NAME:test}
|
||||||
install_command = pip install --pre --find-links https://trydevpi.tryton.org/ {opts} {packages}
|
install_command = pip install --pre --process-dependency-links {opts} {packages}
|
||||||
|
|
Loading…
Reference in New Issue