Synchronize env vars for Linux and OS X workers

While `$TRAVIS_OS_NAME` should be set for non-multi-os builds
(https://github.com/travis-ci/travis-ci/issues/2384), for now,
do not guarantee that it is set for them.

Also addresses the lack of documentation that led to
https://github.com/travis-ci/travis-ci/issues/2411.