Unexpected unbound variable

I have a work flow of using docker to pack something. Just starting it with TravisCI. Then it failed at a place I could not figure out.

https://travis-ci.com/Magicloud/al-hl/builds/103013899

/home/travis/.travis/functions: line 107: secure: unbound variable

I do not use such a var in my process. The only one I can see is the one generated by travis cli tool. So where is the problem?

Thanks in advance.

I think I got it. functions, as a shell script, uses unassigned variable in some logic. And I set -u.

1 Like

For the curious: it comes from the bash functions.


which may or may not be bound.

1 Like

Getting same error too:
https://travis-ci.org/pfnet-research/chainer-compiler/builds/580542790