<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Travis CI - Distributed Continuous Integration Platform for the Open Source Community</title>
    <link rel="stylesheet" href="/stylesheets/application.css">
    <link rel="stylesheet" href="/stylesheets/jasmine.css">

    <script src="/javascripts/vendor.js"></script>
    <script src="/javascripts/application.js"></script>
    <script src="/javascripts/specs/vendor.js"></script>
    <script src="/javascripts/specs/specs.js"></script>
  </head>
  <body>
    <script>
      window.cachedSearch = window.location.search;
      minispade.require('mocks')

      for(key in minispade.modules)
        if(key.match(/_spec$/))
          minispade.require(key);

      var console_reporter = new jasmine.ConsoleReporter()
      jasmine.getEnv().addReporter(new jasmine.HtmlReporter());
      /* jasmine.getEnv().addReporter(console_reporter); */
      jasmine.getEnv().execute();
    </script>
  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <title>Travis CI - Distributed Continuous Integration Platform for the Open Source Community</title>
    <link rel="stylesheet" href="/stylesheets/application.css">
    <link rel="stylesheet" href="/stylesheets/jasmine.css">

    <script src="/javascripts/vendor.js"></script>
    <script src="/javascripts/application.js"></script>
    <script src="/javascripts/specs/vendor.js"></script>
    <script src="/javascripts/specs/specs.js"></script>
  </head>
  <body>
    <script>
      window.cachedSearch = window.location.search;
      minispade.require('mocks')

      for(key in minispade.modules)
        if(key.match(/_spec$/))
          minispade.require(key);

      var console_reporter = new jasmine.ConsoleReporter();
      jasmine.getEnv().addReporter(new jasmine.HtmlReporter());
      jasmine.getEnv().addReporter(console_reporter);
      jasmine.getEnv().execute();
    </script>
  </body>
</html>

Enable console reporter to make run_jasmine work
Enable console reporter to make run_jasmine work

Specs in phantomjs still fail, but at least if shows what's going on end
terminates script correctly.
