-
Notifications
You must be signed in to change notification settings - Fork 53
Adds travis continuous integration (CI) for pytest #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@xylar, I'll let you know when this is setup correctly |
d7bbed1
to
169bd51
Compare
@xylar and @mark-petersen, this is ready to review. We pass on python 2.7 but not on python 3.5. This begs the question of which version of python we should support for the long term. See issue #43 |
Note, I could remove 3.5 for now so that the CI for our current repo passes. This may be the way to go and I'll do this unless there are objections. |
Note, if this passed pytest we would have a green check mark. |
@pwolfram, I think you should take out the python 3.5 checks for now. We can add it back after we have altered the repo to support python 3.5 (or as part of that transition, since it would be a helpful way of checking if we've done things right). |
@pwolfram, can you either explain here a bit more about how this works or point me to some simple documentation (if such a thing exists) that you used to know how to set this up? I'd like to understand what happens in the GitHub repo vs. what happens on the travis-ci.org. How is the script |
@xylar, |
@xylar, I've removed the 3.5 test as requested for now. It isn't too hard to add it back. |
@xylar, as far as I'm concerned this can be merged now. @mark-petersen, here is both an implementation and example of how this works. The only thing that needed to be done beside this code was turning on the travis-ci switch for this repo at https://travis-ci.org/profile/MPAS-Dev |
Ah, I see. That makes sense. then. |
Nice! @pwolfram, don't forget to delete your remote branch since I can't. |
Oops, sorry! I missed that the |
No problem @xylar, I did realize I forgot the CI badge for the readme, however. So we need to add that in, but that isn't a big deal. |
See #44 |
Continuous integration using pytest will help us avoid bugs and ensure that design objectives are being met via test.
This merge adds the capability for Travis CI to run py.test to ensure that tests are passing.