Travis CI creates two builds for each Github commit push

user2490003

Each time I push to Github, it appears to trigger two Travis CI builds - one for the PR and one for the Push itself. They also appear to be separate builds, judging by the links.

What's the exact difference between the two, and how can I enable it so that only one runs?

travis ci build

набиячлэвэли

You can uncheck either building pushes or PRs in the TravisCI settings for the repository: settings SS

The difference between them is:

  • /pr builds automerged state (as if you merged the PR and ran the tests on that, note: it won't run if the PR can't be automerged).
  • /push builds for the current state of the branch you pushed to (as if you ran the tests on your local copy you just pushed),

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Getting the Travis CI build status of a GitHub commit

Performance info for each commit in GitHub or GitLab CI

Travis builds twice every commit (two tasks per build)

Test travis-ci script without commit on github

Travis-CI builds on schedule

restarting builds with travis ci api

Cache Brew builds with travis ci

How can I run multiple builds, each with a separate script, in Travis CI for a C++ project?

Pipeline GitHub -> Travis CI -> Docker

automated push to a github repo with travis

Error authenticating Github using Travis CI

Deploying a Maven version to Github using Travis CI

Custom label for Travis CI badge on github repo

Travis-CI stopped building Github project

How to prevent travis jobs after each commit?

Travis-CI: how to cache composer executable between builds?

Travis CI builds app but doesn't deploy to Surge.sh

Travis-CI only deploy once after all builds finish

How does travis-ci.org throttle builds?

Travis CI works correctly, but Coveralls doesn't see the builds

Project builds on local but fails in travis-ci container

Problems doing Travis-CI builds with new Flutter project

Travis-CI running two android emulators

Supporting two languages in travis.ci file

Git commit, git push to GitHub, nothing more to commit, but GitHub is not updated

Travis CI skip release deployment because this is not a tagged commit

trigger travis CI build only with specific commit message

Trigger a Travis-CI rebuild without pushing a commit?

Travis-CI skipping deployment although Commit is tagged