Updating Travis config.

- Based on lint.travis-ci.org.
- Also enables the planned sandbox testing through Travis encrypted
  environment variables.

[ci skip]