Having a properly set up continuous integration system is important for ensuring your application code is high quality. By continuously testing your application, you can find bugs early in the development process, and resolve them before your users must suffer.
Jérémy Pelé wrote an excellent article discussing the many ways you can solve Continuous Integration for your NativeScript apps. Also, in the video below, the NativeScript Air podcast dedicated an entire episode to this subject.