def all_pg_py_combos(slave): # Test with the LO64 on Py 64 bits if '64' in slave.slavename: pg_config = '/usr/local/pg93/bin/pg_config' else: pg_config = None for pyver in pyvers: add_python(slave, PythonInstance(dotted(pyver), executable='/usr/local/py%s/bin/python%s' % (pyver, pyver[0] == '3' and '3' or ''), pg_config=pg_config, )) # increase concurrency by using databases in different orders if '64' in slave.slavename: use_pgvers = pgvers[len(pgvers) // 2:] + pgvers[:len(pgvers) // 2] else: use_pgvers = pgvers for pgver in use_pgvers: add_postgres(slave, PostgresInstance(dotted(pgver), 'testdb-' + pgver, host='192.168.56.50', port='543' + pgver, user='******', )) for pyver in pyvers: for pgver in use_pgvers: add_test(slave, dotted(pyver), dotted(pgver)) return slave
def all_pg_py_combos(slave): for pyver in pyvers: add_python(slave, PythonInstance(dotted(pyver), executable='/usr/local/py%s/bin/python%s' % (pyver, pyver[0] == '3' and '3' or ''), # use the system pg_config # from psycopg 2.4.1 we can use 8.4 to talk to 9.0 # without breaking bytea # pg_config='/usr/local/pg90/bin/pg_config', )) for pgver in pgvers: add_postgres(slave, PostgresInstance(dotted(pgver), 'testdb-' + pgver, host='192.168.56.50', port='543' + pgver, user='******', )) for pyver in pyvers: for pgver in pgvers: add_test(slave, dotted(pyver), dotted(pgver)) return slave
executable="/usr/local/py251/bin/python2.5", green_libs=["eventlet"], )) add_python(ikki, PythonInstance('2.6', executable="python2.6", pg_config='/usr/local/pgsql/bin/pg_config', )) add_postgres(ikki, PostgresInstance('7.4', 'ikki-7.4', host='localhost', port=54374, user='******', )) add_postgres(ikki, PostgresInstance('8.0', 'ikki-8.0', host='localhost', port=54380, user='******', )) add_postgres(ikki, PostgresInstance('8.4', 'ikki-8.4', host='localhost',user='******', )) add_postgres(ikki, PostgresInstance('9.0', 'ikki-9.0', host='localhost', port=54390, user='******', )) add_test(ikki, '2.4', '8.0') add_test(ikki, '2.4', '8.4') add_test(ikki, '2.5', '8.4') add_test(ikki, '2.6', '8.0') add_test(ikki, '2.6', '8.4') add_test(ikki, '2.6', '9.0') # CentOS 5.5 x86_64 failed the 2.3.0 build centos_55_64 = create_slave("centos-55-64", max_builds=1) add_python(centos_55_64, PythonInstance('2.4', executable="python2.4", )) add_postgres(centos_55_64, PostgresInstance('8.4', 'testdb-84', host='192.168.56.50', user='******', port=54384))