Preserve other environment variables for travis.

I didn't really think about what would happen with $mode and $script.
>.>