O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

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

Running our tests

If we were to run our project now, it would fail miserably. We still need to change our project so it runs on Windows. Remove the shell step and add the Execute windows batch command step. You would think the batch command itself would be the same, but that is slightly different too:

npm install && node_modules\.bin\gulp.cmd --env=prod

Unfortunately, the batch script does not execute multiple lines, so we need to use && to execute multiple statements. Other than that, we still run npm install and the Gulp script. Notice that I have changed the gulp script to gulp.cmd.

Now that we are running on Windows, we probably want some real browsers to test with. We can make that as an options just like the env variable. We cannot ...

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