lox / regreph

A tool for detecting performance regressions in PHP codebases
50 stars 2 forks source link

Use Travis CI #14

Open hkdobrev opened 10 years ago

hkdobrev commented 10 years ago

Travis CI is the most popular and robust (and still easy to use) continuous integration service. It is completely free for open-source projects.

It would allow us to run tests and any other automatic tools on each commit/PR.

This would be after #13.

staabm commented 10 years ago

related to Travis CI but not the task you describe here: it would be great if one can use regreph in its projects Travis Build to test for performance regressions and make CI Builds fail because of regressed performance.

hkdobrev commented 10 years ago

it would be great if one can use regreph in its projects Travis Build to test for performance regressions and make CI Builds fail because of regressed performance.

@staabm This is the ultimate goal and that's why I even started working on this project!

12 would help us achieve that as well. Right now the readme suggests cloning regreph and installing a library as a dependency. Travis CI would have already cloned the library you test so it only makes sense to require regreph as a dependency.

About the build failing, the regreph command already exits with 1 or 2 as exit code if the memory or the CPU usage has regressed and that will fail the Travis CI build.

Cheers!