Add stubs in travis/ to call ci/ scripts
parent
2ac3258ae8
commit
2f5cee1af1
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
script_name = os.path.basename(__file__)
|
||||
new_script_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'ci', script_name)
|
||||
|
||||
sys.stderr.write('\nNote: travis/{script_name} is deprecated. Use ci/{script_name} instead.\n\n'.format(script_name=script_name))
|
||||
sys.stderr.flush()
|
||||
|
||||
p = subprocess.run([sys.executable, new_script_path] + sys.argv[1:])
|
||||
sys.exit(p.returncode)
|
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
script_name = os.path.basename(__file__)
|
||||
new_script_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'ci', script_name)
|
||||
|
||||
sys.stderr.write('\nNote: travis/{script_name} is deprecated. Use ci/{script_name} instead.\n\n'.format(script_name=script_name))
|
||||
sys.stderr.flush()
|
||||
|
||||
p = subprocess.run([sys.executable, new_script_path] + sys.argv[1:])
|
||||
sys.exit(p.returncode)
|
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
script_name = os.path.basename(__file__)
|
||||
new_script_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'ci', script_name)
|
||||
|
||||
sys.stderr.write('\nNote: travis/{script_name} is deprecated. Use ci/{script_name} instead.\n\n'.format(script_name=script_name))
|
||||
sys.stderr.flush()
|
||||
|
||||
p = subprocess.run([sys.executable, new_script_path] + sys.argv[1:])
|
||||
sys.exit(p.returncode)
|
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
script_name="$(basename "$0")"
|
||||
new_script_path="$(dirname "$0")/../ci/${script_name}"
|
||||
|
||||
printf >&2 "\nNote: travis/%s is deprecated. Use ci/%s instead.\n\n" "${script_name}" "${script_name}"
|
||||
|
||||
"${new_script_path}" "$@"
|
||||
exit $?
|
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
script_name="$(basename "$0")"
|
||||
new_script_path="$(dirname "$0")/../ci/${script_name}"
|
||||
|
||||
printf >&2 "\nNote: travis/%s is deprecated. Use ci/%s instead.\n\n" "${script_name}" "${script_name}"
|
||||
|
||||
"${new_script_path}" "$@"
|
||||
exit $?
|
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
script_name = os.path.basename(__file__)
|
||||
new_script_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'ci', script_name)
|
||||
|
||||
sys.stderr.write('\nNote: travis/{script_name} is deprecated. Use ci/{script_name} instead.\n\n'.format(script_name=script_name))
|
||||
sys.stderr.flush()
|
||||
|
||||
p = subprocess.run([sys.executable, new_script_path] + sys.argv[1:])
|
||||
sys.exit(p.returncode)
|
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
script_name = os.path.basename(__file__)
|
||||
new_script_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'ci', script_name)
|
||||
|
||||
sys.stderr.write('\nNote: travis/{script_name} is deprecated. Use ci/{script_name} instead.\n\n'.format(script_name=script_name))
|
||||
sys.stderr.flush()
|
||||
|
||||
p = subprocess.run([sys.executable, new_script_path] + sys.argv[1:])
|
||||
sys.exit(p.returncode)
|
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
script_name = os.path.basename(__file__)
|
||||
new_script_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'ci', script_name)
|
||||
|
||||
sys.stderr.write('\nNote: travis/{script_name} is deprecated. Use ci/{script_name} instead.\n\n'.format(script_name=script_name))
|
||||
sys.stderr.flush()
|
||||
|
||||
p = subprocess.run([sys.executable, new_script_path] + sys.argv[1:])
|
||||
sys.exit(p.returncode)
|
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
script_name = os.path.basename(__file__)
|
||||
new_script_path = os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), 'ci', script_name)
|
||||
|
||||
sys.stderr.write('\nNote: travis/{script_name} is deprecated. Use ci/{script_name} instead.\n\n'.format(script_name=script_name))
|
||||
sys.stderr.flush()
|
||||
|
||||
p = subprocess.run([sys.executable, new_script_path] + sys.argv[1:])
|
||||
sys.exit(p.returncode)
|
Loading…
Reference in New Issue