mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-07 09:01:38 -04:00
env var to skip tests during publish
This commit is contained in:
parent
098c77b543
commit
f0c0378e92
@ -110,7 +110,8 @@ class Publish(Command):
|
||||
if 'PUBLISH_BUILD_DONE' not in os.environ:
|
||||
subprocess.check_call([sys.executable, 'setup.py', 'check'])
|
||||
subprocess.check_call([sys.executable, 'setup.py', 'build'])
|
||||
subprocess.check_call([sys.executable, 'setup.py', 'test'])
|
||||
if 'SKIP_CALIBRE_TESTS' not in os.environ:
|
||||
subprocess.check_call([sys.executable, 'setup.py', 'test'])
|
||||
subprocess.check_call([sys.executable, 'setup.py', 'pot'])
|
||||
subprocess.check_call([sys.executable, 'setup.py', 'translations'])
|
||||
os.environ['PUBLISH_BUILD_DONE'] = '1'
|
||||
|
Loading…
x
Reference in New Issue
Block a user