Add script to run specs in CI, fixes #61.

This commit is contained in:
Cheng Zhao 2013-08-21 11:15:22 +08:00
parent 0cd3f3cc40
commit d160da7752
4 changed files with 47 additions and 2 deletions

8
script/cibuild Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env python
import os
import subprocess
test = os.path.join(os.path.dirname(__file__), 'test.py')
subprocess.check_call([test, '--ci'])

View file

@ -17,7 +17,7 @@ def main():
else:
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Debug', 'atom.exe')
subprocess.check_call([atom_shell, 'spec'])
subprocess.check_call([atom_shell, 'spec'] + sys.argv[1:])
if __name__ == '__main__':