Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Travis-CI automated test suite #12424
What does it do ?
Now that the unit test framework is working, the next step is to get unit tests built and maintained to eventually get a high %age of code tested. As a first step this PR will allow the MODX unit tests to run on travis-ci automatically.
All tests are run on: PHP 5.3, 5.4, 5.5 and 5.6. HHVM and nightlies currently fail so have excluded them from this PR so we can start on a clean/green slate.
Why is it needed ?
Until recently unit tests within MODX have been difficult to execute and even harder to write. With this PR - MODX contributors should be able to set up the tests to run on every future PR and branch. This allows better testing on-going and also should encourage the community to write additional tests to go with there Pull Requests.
Some of the script setup could do with some refactoring but this is a starting block to build upon.