Don't run tests on Janky CI
This commit is contained in:
parent
57551cfad9
commit
b5b2df8e6c
1 changed files with 5 additions and 2 deletions
|
@ -32,7 +32,8 @@ LINUX_DEPS_ARM = [
|
||||||
def main():
|
def main():
|
||||||
os.environ['CI'] = '1'
|
os.environ['CI'] = '1'
|
||||||
|
|
||||||
if os.environ.has_key('JANKY_SHA1'):
|
is_janky = os.environ.has_key('JANKY_SHA1')
|
||||||
|
if is_janky:
|
||||||
setup_nodenv()
|
setup_nodenv()
|
||||||
|
|
||||||
# Ignore the CXX and CC env in CI.
|
# Ignore the CXX and CC env in CI.
|
||||||
|
@ -88,7 +89,9 @@ def main():
|
||||||
run_script('upload.py')
|
run_script('upload.py')
|
||||||
else:
|
else:
|
||||||
run_script('build.py', ['-c', 'D'])
|
run_script('build.py', ['-c', 'D'])
|
||||||
if PLATFORM == 'win32' or target_arch == 'x64':
|
if PLATFORM == 'win32' or \
|
||||||
|
(PLATFORM == 'darwin' and target_arch == 'x64') or \
|
||||||
|
(PLATFORM == 'linux' and not is_janky and target_arch == 'x64'):
|
||||||
run_script('test.py', ['--ci'])
|
run_script('test.py', ['--ci'])
|
||||||
run_script('verify-ffmpeg.py')
|
run_script('verify-ffmpeg.py')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue