Should've used global rather than env when setting variables in travis.yml