Make win32 CI machine run tests
This commit is contained in:
parent
fe3c78ad84
commit
6756f8c7af
1 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@ def main():
|
||||||
if os.environ.has_key('TARGET_ARCH'):
|
if os.environ.has_key('TARGET_ARCH'):
|
||||||
target_arch = os.environ['TARGET_ARCH']
|
target_arch = os.environ['TARGET_ARCH']
|
||||||
|
|
||||||
|
is_appveyor = (os.getenv('APPVEYOR') == 'True')
|
||||||
is_travis = (os.getenv('TRAVIS') == 'true')
|
is_travis = (os.getenv('TRAVIS') == 'true')
|
||||||
if is_travis and PLATFORM == 'linux':
|
if is_travis and PLATFORM == 'linux':
|
||||||
print 'Setup travis CI'
|
print 'Setup travis CI'
|
||||||
|
@ -76,7 +77,7 @@ 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' and target_arch == 'x64':
|
if not is_appveyor and target_arch == 'x64':
|
||||||
run_script('test.py', ['--ci'])
|
run_script('test.py', ['--ci'])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue