used before_script instead of env vars in .travis.yml