The above command allows you to update the "status" for a given commit (sha). Generally a PR will have 2 status contexts you need to set and each of them will have a different target-url which you can find via travis website and some exploring.
continuous-integration/travis-ci/pushcontinuous-integration/travis-ci/pr
The following are the only external dependencies:
- You need node 6+ installed and
npx(npm i -g npx) - You also need a github auth token, I strongly recommend generating a one-off token here with the only the permission
repo:statusand deleting once you are finished.