mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-09 22:46:16 +01:00
...
This commit is contained in:
parent
b0af0b7830
commit
09ddb332d9
2 changed files with 4 additions and 3 deletions
|
|
@ -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…
Reference in a new issue