With write access to the repo, open the build detail screen and use the Restart Build button, or the trigger-build item under More Options. Note two caveats: browser extensions like Ghostery can hide the restart button, so disable or whitelist if it is missing; and a restart re-runs the old .travis.yml, so if the config changed upstream you must push a commit or close/reopen the PR to pick it up.

Context: Stack Overflow #17606874 (accepted answer, 432 votes): a build fails due to an externality like an apt-get outage, and the asker wants to re-run it without a dummy commit. The accepted answer gives the UI path and its caveats.