.travis.yml
configuration for multiple Node.js jobsrelease
build stage that runs semantic-release
only after all test jobs are successful.semantic-release
command in the Travis deploy
step so if an error occurs the build will fail and Travis will send a notification.semantic-release
command in the Travis script
step as each script in this step will be executed regardless of the outcome of the previous one. See travis-ci/travis-ci#1066.script
step of the release
stage is not necessary as the previous stage(s) already ran them. To increase speed, the script
step of the release
stage can be overwritten to skip the tests. Note that other commands such as build or compilation might still be required.package.json
configuration for multiple Node jobs.travis.yml
configuration for non-JavaScript projectsrelease
build stage that runs semantic-release
only after all test jobs are successful.semantic-release
command in the Travis deploy
step so if an error occurs the build will fail and Travis will send a notification.semantic-release
command in the Travis script
step as each script in this step will be executed regardless of the outcome of the previous one. See travis-ci/travis-ci#1066.script
step of the release
stage is not necessary as the previous stage(s) already ran them. To increase speed, the script
step of the release
stage can be overwritten to skip the tests. Note that other commands such as build or compilation might still be required.