Bootstrapping a test environment

Burak Arslan burak.arslan at arskom.com.tr
Tue Dec 17 15:07:04 CET 2013


Hello list,

I decided to set up a portable Jenkins environment for an open source
project I'm working on.

After a couple of hours of tinkering, I ended up with this:

https://github.com/arskom/spyne/blob/05f7a08489e6dc04a3b5659eb325390bea13b2ff/run_tests.sh
(it should have been a Makefile)

This worked just fine.

Next, I wanted to integrate other Python implementations to this setup,
but none really worked so far. Jython-2.7-beta installs fine but seems
to have problems fetching stuff from the internet. I couldn't get
IronPython to compile under mono at all. I couldn't look at PyPy deeply
but resource requirements for building it seem scary...

Here's the latest version of that script:
https://github.com/arskom/spyne/blob/master/run_tests.sh

Note that there's nothing project-specific there except the --source and
--omit parameters to coverage.

Here's the script in action: https://spyne.ci.cloudbees.com/. Btw, Kudos
to cool folks at cloudbees for supporting FOSS, It's been rock solid so
far. They got unlimited parallel executors, no less :)

So, could people who've done similar things share their experience? How
do you suggest I should proceed here? Do you have a working ipy/mono
version combination that works? Is there a similar build script for PyPy
somewhere?

Pull requests are very much welcome :)

Best regards,
Burak




More information about the Python-list mailing list