Remove volumes on drone and fix test
This commit is contained in:
parent
17a069d7a2
commit
3a7215e64b
|
@ -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:
|
||||||
|
|
3
setup.py
3
setup.py
|
@ -117,7 +117,4 @@ setup(name='%s_%s' % (PREFIX, MODULE),
|
||||||
test_loader='trytond.test_loader:Loader',
|
test_loader='trytond.test_loader:Loader',
|
||||||
tests_require=tests_require,
|
tests_require=tests_require,
|
||||||
use_2to3=True,
|
use_2to3=True,
|
||||||
convert_2to3_doctests=[
|
|
||||||
'tests/scenario_country_zip.rst',
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
#This file is part helloword module for Tryton.
|
# This file is part helloword module for Tryton. The COPYRIGHT file at the top
|
||||||
#The COPYRIGHT file at the top level of this repository contains
|
# level of this repository contains the full copyright notices and license
|
||||||
#the full copyright notices and license terms.
|
# terms.
|
||||||
|
try:
|
||||||
from .test_country_zip import suite
|
from trytond.modules.country_zip.tests.test_country_zip import suite
|
||||||
|
except ImportError:
|
||||||
|
from .test_country_zip 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