DEV Community

Discussion on: Setup Continuous Integration with Travis CI in Your Nodejs App

Collapse
 
micahbala profile image
Micah Bala

not quite clear, at least for a beginner like me. did the steps above and nothing shows up on travis

Collapse
 
lauragift21 profile image
Gift Egwuenu

What part is not clear? What did you try and also what's the error you are getting?

Collapse
 
micahbala profile image
Micah Bala

Thanks for your prompt response. I created .travis.yml in the root directory of my project, added the language, integrated my github account with travis, saved my changes locally and push to github, nothing happens, I could see my commit messages from travis site but no build process. Thank you.

Thread Thread
 
lauragift21 profile image
Gift Egwuenu

If you followed the steps it should work. Try adding a script command to the travis.yml file like so:

script:
  - npm run test

So it can trigger your test script.

Thread Thread
 
ray_wachaga profile image
Raymond Wachaga

Add this to the main article to make it complete. This line is the missing ingredient.