Export env vars before running tests instead of before install.

This makes the Travis setup a little cleaner. Just being nitpicky here.