npm i -g semantic-release-cli
cd my-project
semantic-release-cli setup
# follow the prompts
Tips:
- Make sure the GitHub user you specify has logged into Travis with GitHub at some point (ever).
- Make sure you have branch builds enabled in Travis, not just PR builds
- Use GitHub's [Squash and Merge] button when needed to overwrite the PR's commits with a semantic commit message to ensure a build will be triggered.