Closed vyshkov closed 6 years ago
Yeah, of course, I just don't know yet what is the best way to organize this :). Should I just add "test" script command inside "build" command? But I think there could be some other, more organic ways, I see there are some lifecycles, etc https://docs.npmjs.com/misc/scripts
Done, example of failed commit and build:
You should run your tests on the travis CI before build, so if it fails - then it marks you commit with X - cross icon.