openSUSE / osc2

The next Command Line Interface to work with an openSUSE Build Service
http://openbuildservice.org/
17 stars 9 forks source link

Support for running tests in Travis CI and Coveralls #15

Closed nijel closed 9 years ago

nijel commented 10 years ago

This add configuration for Travis and Coveralls.

The tests are executed against more python versions and lxml as well. Testsuite fails with current lxml right now.

You also need to activate repository build and coverage collection on both https://travis-ci.org/ and https://coveralls.io/

nijel commented 10 years ago

...It might be also good idea to enable http://landscape.io for code analysis.

nijel commented 9 years ago

I've rebased the code on current master.

marcus-h commented 9 years ago

On 2015-03-24 01:23:13 -0700, Michal Čihař wrote:

I've rebased the code on current master.

Hmm it seems that the travis build fails: https://travis-ci.org/nijel/osc2/builds/55607795

Do you have an idea why it cannot find pycurl?

nijel commented 9 years ago

Seems that urlgrabber needs it at setup time now, I've adjusted it to install it before.

marcus-h commented 9 years ago

On 2015-03-25 00:35:13 -0700, Michal Čihař wrote:

Seems that urlgrabber needs it at setup time now, I've adjusted it to install it before.

Great! Can you please squash both commits into one? Afterwards, I'll directly merge your PR.

Again, thanks for your contributions!

nijel commented 9 years ago

Done

marcus-h commented 9 years ago

Thanks! Merged.