Get rid of travis.yml

This commit is contained in:
Kovid Goyal 2019-09-06 08:59:39 +05:30
parent c4ef009bfb
commit 3b3b3292df
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 29 deletions

View File

@ -1,27 +0,0 @@
language: node_js
nodejs:
- node
cache:
directories:
- node_modules
- .build-cache
matrix:
include:
- os: linux
sudo: false
addons:
apt:
packages: libgl1-mesa-dev
- os: osx
before_install:
- python setup/unix-ci.py install
- python setup/unix-ci.py bootstrap
script: python setup/unix-ci.py test
notifications:
email:
on_success: change
on_failure: change

View File

@ -720,7 +720,7 @@ class Freeze(object):
'lib', 'python' + py_ver))
@flush
def makedmg(self, d, volname, internet_enable=True, format='ULFO'):
def makedmg(self, d, volname, internet_enable=True, dmg_fmt='ULFO'):
''' Copy a directory d into a dmg named volname '''
print('\nSigning...')
sys.stdout.flush()
@ -743,7 +743,7 @@ class Freeze(object):
print('Signing completed in %d minutes %d seconds' % tuple(times))
os.symlink('/Applications', join(tdir, 'Applications'))
size_in_mb = int(subprocess.check_output(['du', '-s', '-k', tdir]).decode('utf-8').split()[0]) / 1024.
cmd = ['/usr/bin/hdiutil', 'create', '-srcfolder', tdir, '-volname', volname, '-format', format]
cmd = ['/usr/bin/hdiutil', 'create', '-srcfolder', tdir, '-volname', volname, '-format', dmg_fmt]
if 190 < size_in_mb < 250:
# We need -size 255m because of a bug in hdiutil. When the size of
# srcfolder is close to 200MB hdiutil fails with