]> gitweb.factorcode.org Git - factor.git/commit
build.sh: Use the TRAVIS_CI variable if it's provided.
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 9 Dec 2017 09:22:13 +0000 (09:22 +0000)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 9 Dec 2017 09:26:29 +0000 (09:26 +0000)
commita2facf56aab18dd49bcd9b561cb5d835ada40fe9
tree3e0d7c902eb951edb116d258641ce7daf6c5a244
parent3a78b68dd56446ddca4a0f16de13256603b6c198
build.sh: Use the TRAVIS_CI variable if it's provided.

Travisci appears to work in a detached head, but commands like ``git symbolic-ref --short HEAD`` return ``HEAD`` instead of ``master`` in detached head states. At least if we're in travisci this should work.

https://stackoverflow.com/questions/6245570/how-to-get-the-current-branch-name-in-git
build.sh