mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Get rid of travis.yml
This commit is contained in:
parent
c4ef009bfb
commit
3b3b3292df
27
.travis.yml
27
.travis.yml
@ -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
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user