Continuous integration with Grunt
To put it simply, a continuous integration (or CI) server is a dedicated machine with the sole purpose of running builds, that is, it will continuously integrate the new build into a given system. Generally, CI servers work by creating an HTTP server and listening for data to be sent to it. Then, HTTP clients can post data to this server, triggering the server to start the build. For instance, you could tell GitHub to trigger your CI server on every commit (http://gswg.io#github-webhooks), then use Grunt on your CI to continuously perform tasks (such as analyzing, compiling, testing, and deploying your build) as new code arrives. When set up correctly, the act of committing to the main branch in your repository ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access