04 Jan 2014 gist.github.com/redox/8254948
Testing your pure-JS project with Travis CI and its encrypted keys
Jasmine doesn’t provide any way to access environment variables. To setup them, I used the templating feature of grunt-contrib-jasmine, that allows you to build the
SpecRunner.html used by Jasmine. By default, the template is parsed as underscore templates. You can pass options to your template using the
templateOptions option of your
Gruntfile.js jasmine tasks: they will be available via the
I created a GIST summing it all up.