fix syntax for global/matrix env vars

Fixes syntax in .travis.yml for global env vars and separated elements in the build matrix