graphhopper / directions-api-js-client

JavaScript client for the GraphHopper Directions API
https://graphhopper.com/api/1/examples
108 stars 85 forks source link

Store key for tests in an environment variable #37

Closed boldtrn closed 6 years ago

boldtrn commented 6 years ago

Fixes #34.

Currently our Travis tests are failing, because we don't have a valid API KEY registered. This PR proposes to store the key in an environment variable on Travis, but not encrypted, because encrypted environment variables don't work for PRs. I registered the variable in travis, so no code changes are required to change the key.

karussell commented 6 years ago

Yes, variables stored in the settings at travis are simpler - thanks!