Shell escape some of the TRAVIS_ env vars

These might potentially contain characters such as spaces and parentheses, causing the build script to have syntax errors.

Fixes travis-ci/travis-ci#1707.