By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,728 Members | 1,182 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,728 IT Pros & Developers. It's quick & easy.

Continuous integration for Python projects

P: n/a
Hi.
Please correct my if I'm wrong but it seems to me that the major
continuous integration servers (Hudson, CruiseControl, TeamCity ..)
don't support Python based application.
It seems they mainly support Java, .NET and Ruby.
Can I use one of the previous listed servers for Python project?
Thanks.
Jul 29 '08 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Hussein B wrote:
Hi.
Please correct my if I'm wrong but it seems to me that the major
continuous integration servers (Hudson, CruiseControl, TeamCity ..)
don't support Python based application.
It seems they mainly support Java, .NET and Ruby.
Can I use one of the previous listed servers for Python project?
Hudson can, and AFAIK CC as well - they only invoke shell-scripts (at least
hudson does, and CC you can convince doing that using ANT)

So go ahead and use them - shouldn't be much (more) effort than for java
projects.

Diez
Jul 29 '08 #2

P: n/a
Diez B. Roggisch <de***@nospam.web.dewrote:
>Hussein B wrote:
>Please correct my if I'm wrong but it seems to me that the major
continuous integration servers (Hudson, CruiseControl, TeamCity ..)
don't support Python based application.
It seems they mainly support Java, .NET and Ruby.
Can I use one of the previous listed servers for Python project?
Hudson can, and AFAIK CC as well - they only invoke shell-scripts (at least
hudson does, and CC you can convince doing that using ANT)
You can definitely set up CruiseControl to handle Python, but don't
ask me for details as it was a couple of years and a change of job
ago. I seem to remember it being easier when CC was driving make,
but we had makefiles in any case for building the extension modules
needed -- writing a makefile from scratch might be a bit much.

--
\S -- si***@chiark.greenend.org.uk -- http://www.chaos.org.uk/~sion/
"Frankly I have no feelings towards penguins one way or the other"
-- Arthur C. Clarke
her nu becomež se bera eadward ofdun hlęddre heafdes bęce bump bump bump
Jul 29 '08 #3

P: n/a

Hi all

Hudson supports arbitrary ant/shell/batch commands so it basically supports
any development environment (as long as it can run java). I use(d) it to
build, test, package, pylint my XBMC python script
(http://hudson.ramfelt.se/job/XBMC%20TV). If you would like a guide on how
to get going, check out my blog post about it
http://redsolo.blogspot.com/2007/11/...es-python.html

Cheers
//Erik
Hussein B wrote:
>
Hi.
Please correct my if I'm wrong but it seems to me that the major
continuous integration servers (Hudson, CruiseControl, TeamCity ..)
don't support Python based application.
It seems they mainly support Java, .NET and Ruby.
Can I use one of the previous listed servers for Python project?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list

--
View this message in context: http://www.nabble.com/Continuous-int...p18721851.html
Sent from the Python - python-list mailing list archive at Nabble.com.

Jul 29 '08 #4

P: n/a
On Jul 29, 4:56*pm, "Diez B. Roggisch" <de...@nospam.web.dewrote:
Hussein B wrote:
Hi.
Please correct my if I'm wrong but it seems to me that the major
continuous integration servers (Hudson, CruiseControl, TeamCity ..)
don't support Python based application.
It seems they mainly support Java, .NET and Ruby.
Can I use one of the previous listed servers for Python project?

Hudson can, and AFAIK CC as well - they only invoke shell-scripts (at least
hudson does, and CC you can convince doing that using ANT)
I have CC almost running here with python tests and there is no
technical problem in front. You must package your test scripts so that
they exit with something different than 0 in case of failure, and then
just use the Exec runner of CC to run them.

Jul 30 '08 #5

P: n/a
Hello,

Hussein B wrote:
Please correct my if I'm wrong but it seems to me that the major
continuous integration servers (Hudson, CruiseControl, TeamCity ..)
don't support Python based application.
It seems they mainly support Java, .NET and Ruby.
Can I use one of the previous listed servers for Python project?
You can use TeamCity.

Build and test your project with command-line runner and
make sure you've installed modules for reporting
tests to TeamCity.

http://www.jetbrains.net/confluence/...Test+Reporting

--
Leonid.

Jul 31 '08 #6

This discussion thread is closed

Replies have been disabled for this discussion.