melonjs/melonJS — pull request #469 by ellisonleao (2014-03-25 05:53:56+00:00)
Title: New tests environment

Hi guys, this is a major pull request, so i want to discuss it and made the possible changes. Some thing that i've done:

- Add the initial .travis.yml file so we can start work with a CI integrated #345
- The tests are now automated and with a task on grunt, by calling `grunt test` . This command is used on travis to make the tests ongoing.
- I had to change the SpecHelper.js file to fix the `toBeInstanceOf` matcher, so that it could work on jasmine 2.0.
- I've already deleted the old test files since we are now using the latest version on jasmine and it's now automated
- One problem that i could not fix was the `draggable.js` and the `droptarget.js` spec to run on jasmine 2.0, since they are using the `beforeAll` helper and it not work on jasmine 2.0 https://github.com/testdouble/jasmine-before-all/issues/3
I guess we could try to use the `beforeEach` method on those cases.

For travis start to work, someone from the organization must activate it on the travis-ci.org website after the .travis.yml file is on the repo.

I made this pull request on the master branch because it doesn't affect the current environment.

Will be glad to hear from you guys!