Continuous integration for Python projects

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hussein B

    Continuous integration for Python projects

    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.
  • Diez B. Roggisch

    #2
    Re: Continuous integration for Python projects

    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

    Comment

    • Sion Arrowsmith

      #3
      Re: Continuous integration for Python projects

      Diez B. Roggisch <deets@nospam.w eb.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 -- siona@chiark.gr eenend.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

      Comment

      • Erik Ramfelt

        #4
        Re: Continuous integration for Python projects


        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
        A few months ago I started using Hudson for my XBMC TV.com scripts that are written in Python. The Hudson continuous integration server wi...


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

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

        Comment

        • BlueBird

          #5
          Re: Continuous integration for Python projects

          On Jul 29, 4:56 pm, "Diez B. Roggisch" <de...@nospam.w eb.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.

          Comment

          • Leonid Shalupov

            #6
            Re: Continuous integration for Python projects

            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.



            --
            Leonid.

            Comment

            Working...