diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 11c0fc03c6..0000000000 --- a/.travis.yml +++ /dev/null @@ -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 diff --git a/bypy/macos/__main__.py b/bypy/macos/__main__.py index f43ed02a0e..b8f0bece7c 100644 --- a/bypy/macos/__main__.py +++ b/bypy/macos/__main__.py @@ -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