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"`.

These errors were originally pointed out by @mkoppanen in #125.