| Server IP : 123.56.80.60 / Your IP : 216.73.216.78 Web Server : Apache/2.4.54 (Win32) OpenSSL/1.1.1s PHP/7.4.33 mod_fcgid/2.3.10-dev System : Windows NT iZhx3sob14hnz7Z 10.0 build 14393 (Windows Server 2016) i586 User : SYSTEM ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/python/Lib/site-packages/gevent/testing/ |
Upload File : |
# -*- coding: utf-8 -*-
# Support functions for travis
# See https://github.com/travis-ci/travis-rubies/blob/9f7962a881c55d32da7c76baefc58b89e3941d91/build.sh
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import sys
commands = {}
def command(func):
commands[func.__name__] = lambda: func(*sys.argv[2:])
return func
@command
def fold_start(name, msg):
sys.stdout.write('travis_fold:start:')
sys.stdout.write(name)
sys.stdout.write(chr(0o33))
sys.stdout.write('[33;1m')
sys.stdout.write(msg)
sys.stdout.write(chr(0o33))
sys.stdout.write('[33;0m\n')
@command
def fold_end(name):
sys.stdout.write("\ntravis_fold:end:")
sys.stdout.write(name)
sys.stdout.write("\r\n")
def main():
cmd = sys.argv[1]
commands[cmd]()
if __name__ == '__main__':
main()