O'Reilly logo

Jasmine JavaScript Testing - Second Edition by Paulo Ragonha

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

Continuous integration – Travis-CI

We have created a great deal of automation around the project, which is great for onboarding a new developer on the team; running the test is just two commands away:

npm install
npm test

However, that is not the only advantage; we can have the tests running via these same two commands while on a continuous integration environment.

To demonstrate a possible setup, we are going to use Travis-CI (https://travis-ci.org), a free solution for open source projects.

Before we can start, it is required that you have a GitHub (https://github.com/) account and that the project is already hosted there. I expect that you are already familiar with git (http://www.git-scm.com/) and GitHub.

Once you are ready, we can start the ...

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