jostbr / pymaze

A maze generator, solver and visualizer for Python
MIT License
272 stars 63 forks source link

Merge #18

Closed ThomasThelen closed 6 years ago

ThomasThelen commented 6 years ago

Sorry I've been super busy with work and holidays-this should do it! You can just not accept the pull request before this one.

12 Fixed

11 Fixed

3 Fixed

4 Partially Fixed (needs you)

1 Fixed

Don't bother looking at the individual commits, it took ~ 3 hours of trial and error to get Travis CI working :/

I added some unit tests for the maze class and refactored a little of maze_viz.

Feel free to rename the example programs to something more descriptive.

To Complete Issue 4

You need to go to https://travis-ci.org and sign in with your github account and add MazeGenerator to the repo list. I should have set everything else up such that it works out of the box (I got it on build 23 :/). Right now we have three unit test failures, but I'll put that into a different issue. In case you didn't know, Travis will run our unit tests every time we commit to master.

We also test this on Python 3.6, Python 3.5, and Python 3.4. To test any more versions that you are interested in, add them in the travis.yaml file. It's great that this all gets automated, and lets us know when anything breaks.

To get Code Climate up and running, head over to https://codeclimate.com and sign in with github. Add the MazeGenerator repo.

In the badges in the readme, I put your name in so that you shouldn't need to copy the markdown over from the sites.