use $TRAVIS_BRANCH if $RUBY is not set