O'Reilly logo

Play Framework Cookbook - Second Edition by Giancarlo Inductivo, Alexander Reelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing with Travis CI

For this recipe, we will explore how to use Travis CI to build and run automated tests for a Play 2.0 web app. We need to sign up for an account on Travis CI together with a Github account. We will also configure our Travis account in such a way that it is connected to a Github repository to conduct automatic tests on code commits.

How to do it…

For this recipe, you need to perform the following steps:

  1. Create a Github account at https://github.com/join:
    How to do it…
  2. Create a new public Github repository called play2-travis at:

    https://github.com/new

  3. On your development machine, create a new Play 2.0 web app using the activator template play-slick-angular-test-example ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required