Add script to run specs in CI, fixes #61.
This commit is contained in:
parent
0cd3f3cc40
commit
d160da7752
4 changed files with 47 additions and 2 deletions
8
script/cibuild
Executable file
8
script/cibuild
Executable 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'])
|
|
@ -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__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue