This commit is contained in:
Kovid Goyal 2017-05-09 23:35:23 +05:30
parent b0af0b7830
commit 09ddb332d9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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__':