mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
b0af0b7830
commit
09ddb332d9
@ -20,4 +20,4 @@ matrix:
|
||||
before_install:
|
||||
- python setup/unix-ci.py install
|
||||
|
||||
script: $SW/bin/python setup/unix-ci.py test
|
||||
script: python setup/unix-ci.py test
|
||||
|
@ -44,6 +44,7 @@ def download_and_decompress(url, dest, compression=None):
|
||||
|
||||
def main():
|
||||
action = sys.argv[1]
|
||||
python = os.path.join(os.environ['SW'], 'bin', 'python')
|
||||
if action == 'install':
|
||||
if isosx:
|
||||
os.makedirs(os.environ['SWBASE'])
|
||||
@ -57,11 +58,11 @@ def main():
|
||||
run('which rapydscript')
|
||||
run('rapydscript --version')
|
||||
|
||||
run(sys.executable, 'setup.py', 'bootstrap', '--ephemeral')
|
||||
run(python, 'setup.py', 'bootstrap', '--ephemeral')
|
||||
elif action == 'test':
|
||||
if isosx:
|
||||
os.environ['SSL_CERT_FILE'] = os.path.abspath('resources/mozilla-ca-certs.pem')
|
||||
run(sys.executable, 'setup.py', 'test')
|
||||
run(python, 'setup.py', 'test')
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
Loading…
x
Reference in New Issue
Block a user