Skip to content

Added travis and coveralls#278

Merged
richardjgowers merged 2 commits intoMDAnalysis:developfrom
richardjgowers:develop
May 19, 2015
Merged

Added travis and coveralls#278
richardjgowers merged 2 commits intoMDAnalysis:developfrom
richardjgowers:develop

Conversation

@richardjgowers
Copy link
Member

This will fix #134

This adds continuous integration (thanks to @seb-buch ) and automated coverage reports too.

I've created a clone where I've applied this patch already for people to see.

https://github.com/richardjgowers/mdanalysis

So visibly there's the 2 buttons, one for if tests pass, and one that reports code coverage on the project.

Whenever a commit is pushed to develop, this will automatically trigger a check of all the tests. This means we will know within ~1 hour of a commit if it broke something (so test locally as usual, but this stops any mistakes).

When doing pull requests to the repo, an automatic reply stating if all tests pass and the change in code coverage will appear, eg:

richardjgowers#6

I've opted for coveralls rather than codecov, as codecov seems to want read/write access on ALL repos. Coveralls just requires access to commit status and user email addresses.

Unless anyone loudly objects I'll implement this in 2 days.

@richardjgowers
Copy link
Member Author

I'm just trying to get 2.6 working on this atm....

@orbeckst
Copy link
Member

Awesome!
@richardjgowers : merge once you're ready and then close #134

@orbeckst orbeckst mentioned this pull request May 19, 2015
Removed dict comprehensions

Python 2.6 formatting fixes ({0} not {})
richardjgowers added a commit that referenced this pull request May 19, 2015
@richardjgowers richardjgowers merged commit 4345e16 into MDAnalysis:develop May 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

continuous integration

2 participants