-
Notifications
You must be signed in to change notification settings - Fork 58
On Travis: fatal: Invalid symmetric difference expression master... #312
Comments
This could be a Travis issue, too. I'm not sure. |
OK, so this happens only for merge commits like WordPress/application-passwords@2abbda3 (here is the Travis CI run for that commit). |
|
Re-opening since we should probably return a non-zero exit code when this happens. Otherwise the builds appear to pass. |
I'm also getting this error on Travis builds triggered by GitHub pull requests using the
This has actually been a problem for a few years now, but I just found this GitHub issue. @kasparsd, were you ever able to determine whether this was a user-related configuration problem, a Travis problem, or a problem with the |
@kasparsd, you might want to check out the following Travis bug: I've been digging into this with @irmalcol, and it seems like this bug is still an issue, despite the Travis team closing the bug. We're trying a workaround along the lines of what's mentioned in the bug: before_install:
- export TRAVIS_COMMIT=$(git rev-parse FETCH_HEAD) Preliminary results look promising, but the issue was intermittent, so need to keep an eye on it. |
Some Travis runs use an invalid diff range during
travis.install.sh
which results in the following error:See this sample CI run while the previous without the error and could resolve the diff:
Note that both are valid ranges:
The text was updated successfully, but these errors were encountered: