Run build slave scripts with Python 3 on all platforms
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 2 Sep 2019 16:26:03 +0000 (18:26 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 2 Sep 2019 16:26:03 +0000 (18:26 +0200)
master.cfg

index 2578de58ade00293723df192eb181509bd41e3f8..25a5cabfcec44af63b5e28928b620635ed4fcfc0 100644 (file)
@@ -279,7 +279,7 @@ def lib_svn_step(dir):
 
 def rsync_step(id, branch, rsync_script):
     return ShellCommand(name='rsync',
-                        command=['python', rsync_script, id, branch],
+                        command=['python3', rsync_script, id, branch],
                         description='uploading',
                         descriptionDone='uploaded',
                         workdir='install')
@@ -310,11 +310,11 @@ def generic_builder(id, libdir='', branch='', rsync=False):
     f.addStep(git_step(branch))
     f.addStep(git_submodules_update())
 
-    f.addStep(Compile(command=['python', compile_script, id], timeout=3600))
-    f.addStep(Test(command=['python', test_script, id]))
+    f.addStep(Compile(command=['python3', compile_script, id], timeout=3600))
+    f.addStep(Test(command=['python3', test_script, id]))
     f.addStep(ShellCommand(
         name='package',
-        command=['python',
+        command=['python3',
                  pack_script,
                  id,
                  branch or Interpolate('%(src:blender:branch)s')],