mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-16 19:14:41 -07:00
Merge pull request #1307 from nats-io/debug_travis_tag
Fixed TestVersionMatchesTag test
This commit is contained in:
@@ -104,7 +104,8 @@ func RunServerWithConfig(configFile string) (srv *Server, opts *Options) {
|
||||
|
||||
func TestVersionMatchesTag(t *testing.T) {
|
||||
tag := os.Getenv("TRAVIS_TAG")
|
||||
if tag == "" {
|
||||
// Travis started to return '' when no tag is set. Support both now.
|
||||
if tag == "" || tag == "''" {
|
||||
t.SkipNow()
|
||||
}
|
||||
// We expect a tag of the form vX.Y.Z. If that's not the case,
|
||||
|
||||
Reference in New Issue
Block a user