Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
travis: fix Could not parse object TRAVIS_COMMIT
If a PR is edited(e.g. force pushed) during the build. TRAVIS_COMMIT will be lost. Refetching the merge ref wouldn't help this situation as well. Since Travis already have reset $TRAVIS_BUILD_DIR to the commit we need to test, let's use it to determine TRAVIS_COMMIT directly. Ref: travis-ci/travis-ci#2666
- Loading branch information