oabsa / election-manager

Wordpress plugin specifically designed to collect election results from a BSA Order of the Arrow election
GNU General Public License v2.0
3 stars 0 forks source link

Travis CI #11

Closed pburtchaell closed 10 years ago

pburtchaell commented 10 years ago

Just an FYI that I have turned on Travis CI for your repositories @justdave. Here are the docs for PHP tests.

If you aren't familiar with Travis... it basically automatically runs tests every time one makes a commit. It is configured through a YAML file at the root of each project: travis.yml.

You don't have to use this of course, but just in case you do, it is there.

adamgross42 commented 10 years ago

Do you have a link to the test run results? Worth including in the Readme?

justdave commented 10 years ago

Guess that means we should write some tests... :-) I have no idea how phpunit works, never done this before in PHP (I'm familiar with the process in Perl and Python though)

pburtchaell commented 10 years ago

@adamgross42 The standard practice is to include a badge in the title of your readme file. Here is a badge for jQuery. You can add flags to the URL to filter run results by branch.

@justdave :+1:

justdave commented 10 years ago

Looks like for this to actually be useful at all, we need to walk travis through a full install of wordpress, since almost the entirety of the code depends on libraries included with wordpress.

pburtchaell commented 10 years ago

Okay. Well that sounds like more trouble than it is worth. I just wanted to let you know about it.

justdave commented 10 years ago

Yeah, still not a bad idea. I'll just take a little work to set it up.