travis-ci/travis-assets — pull request #14 by dvyjones (2012-06-03 10:00:38+00:00)
Title: Headless testing

I changed the testing over to using PhantomJS together with guard-jasmine.

This means that we don't have to spin up a framebuffer and a web browser. On my computer, this is how long the "old style" testing took:

```
$ time bundle exec rake jasmine:ci --trace
[...]
bundle exec rake jasmine:ci --trace 5.61s user 1.15s system 82% cpu 8.175 total
```

And here's headless testing:

```
$ time bundle exec rake guard:jasmine --trace
[...]
bundle exec rake guard:jasmine --trace 5.67s user 0.87s system 110% cpu 5.899 total
```

So, not a huge increase in speed, but still a speed increase. What do you think? (All the tests pass locally, of course)