Currently all jobs do no execute the after_script
block and error with /home/travis/.travis/functions: eval: line 110: syntax error: unexpected end of file
.
Example: https://travis-ci.org/SuperSandro2000/docker-images/jobs/615756577#L863
Is this a bug or did I somehow mess the script up?
The commands you supply are executed with eval
so it’s probably one of them which is “messed up”.
You can set -x
and export PS4='+(${BASH_SOURCE}:${LINENO}): ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'
to see firsthand which command causes the error (prepare to see lots of trace output).
But in your case, it’s pretty obvious that it’s your command line preceding the message: it has an unclosed if
block.
1 Like