Move ENV variables in .travis.yml

This allow the unit test to be runned via `npm test` on windows.
Merge pull request #361 from SBoudrias/travis

Move ENV variables in .travis.yml