Fix errors in travis/script.sh

When building without CZMQ, the corresponding tests caused syntax errors, i.e. `if test $with_czmq  = "true"` became `if test  = "true"`.