asdf-vm / asdf-elixir

Elixir plugin for asdf version manager
https://github.com/asdf-vm/asdf
MIT License
473 stars 70 forks source link

Test plugin version as checked out by Travis #94

Closed tverlaan closed 4 years ago

tverlaan commented 4 years ago

TRAVIS_BRANCH points to target branch in PRs

From the documentation

TRAVIS_BRANCH:

  • for push builds, or builds not triggered by a pull request, this is the name of the branch.
  • for builds triggered by a pull request this is the name of the branch targeted by the pull request.
Stratus3D commented 4 years ago

@tverlaan interesting! I think we might have several builds that wrong. I noticed yesterday asdf-erlang was also using TRAVIS_BRANCH.