Disable App Nap on OS X on Travis. Fixes #1143.
This commit is contained in:
parent
e9ca1ba5c1
commit
f577da9a6b
@ -121,6 +121,9 @@ elif TRAVIS_OS == 'linux':
|
||||
check_setup('python3')
|
||||
print("travis_fold:end:ci_install")
|
||||
elif TRAVIS_OS == 'osx':
|
||||
print("Disabling App Nap...")
|
||||
subprocess.check_call(['defaults', 'write', 'NSGlobalDomain',
|
||||
'NSAppSleepDisabled', '-bool', 'YES'])
|
||||
print("brew update...")
|
||||
brew(['update'], silent=True)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user