Fixed testpypi name

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
This commit is contained in:
Ian Bell
2014-10-28 22:02:14 -04:00
parent 6eec73536e
commit 0c3d622c41

View File

@@ -302,7 +302,7 @@ def pythonFactory(pyID, pyCFG=PythonSlaveConfig("name"), gitMode='incremental'):
installCMD = " ".join(["python", "setup.py"] + pyins)
combinedCMD = " && ".join([activateCMD, installCMD])
factory.addStep(ShellCommand(command = combinedCMD, workdir = workingFolder, haltOnFailure = True))
combinedCMD = " && ".join([activateCMD, 'twine upload -r testing Python/*'])
combinedCMD = " && ".join([activateCMD, 'twine upload -r test Python/*'])
factory.addStep(ShellCommand(command = combinedCMD, workdir = 'build/'+uploadFolder, haltOnFailure = True))
#
factory.addStep(DirectoryUpload(slavesrc=uploadFolder, masterdest="public_html/binaries", url="binaries", compress="bz2"))
@@ -434,7 +434,7 @@ def python_source_slave(key, platform, conda_env, cmake_args = [], cmake_env = {
workdir= working_folder,
haltOnFailure = True))
factory.addStep(DirectoryUpload(slavesrc="install_root", masterdest="public_html/binaries", url="binaries", compress="bz2"))
factory.addStep(ShellCommand(command = ' '.join(['source',"activate",conda_env,"&&","twine", "upload", "-r", "testing", "*"]),
factory.addStep(ShellCommand(command = ' '.join(['source',"activate",conda_env,"&&","twine", "upload", "-r", "test", "*"]),
env = cmake_env,
workdir= 'build/install_root/Python',
haltOnFailure = True))