Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Continuous integration for Python projects

Reply
Thread Tools

Continuous integration for Python projects

 
 
Hussein B
Guest
Posts: n/a
 
      07-29-2008
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.
 
Reply With Quote
 
 
 
 
Diez B. Roggisch
Guest
Posts: n/a
 
      07-29-2008
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
 
Reply With Quote
 
 
 
 
Sion Arrowsmith
Guest
Posts: n/a
 
      07-29-2008
Diez B. Roggisch <> wrote:
>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 -- -- 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
 
Reply With Quote
 
Erik Ramfelt
Guest
Posts: n/a
 
      07-29-2008

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.

 
Reply With Quote
 
BlueBird
Guest
Posts: n/a
 
      07-30-2008
On Jul 29, 4:56*pm, "Diez B. Roggisch" <de...@nospam.web.de> wrote:
> 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.

 
Reply With Quote
 
Alan Franzoni
Guest
Posts: n/a
 
      07-30-2008
Hussein B was kind enough to say:

> 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.


If you want, you can use ant as a build script, and then define the usual
targets (build, dist, test), ecc. and then use xmlrunner to publish them in
a junit-like format which can be read through cruisecontrol or other CI
tools.

--
Alan Franzoni <>
-
Remove .xyz from my email in order to contact me.
-
GPG Key Fingerprint:
5C77 9DC3 BD5B 3A28 E7BC 921A 0255 42AA FE06 8F3E
 
Reply With Quote
 
Leonid Shalupov
Guest
Posts: n/a
 
      07-31-2008
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.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OT] which newsgroup(s) for discussing continuous integration? marlow.andrew@googlemail.com Java 2 11-07-2008 04:25 PM
Continuous Integration for Ruby projects S. Robert James Ruby 3 11-22-2006 03:45 PM
free continuous integration service? Noah Roberts C++ 1 09-28-2006 11:35 PM
free continuous integration service? Noah Roberts C++ 1 09-28-2006 08:56 PM
Python Projects Continuous Integration Harry George Python 8 08-08-2006 07:31 PM



Advertisments