Workaround for travis bug

Travis is currently not setting CI=true and TRAVIS=true in their OS X builds ([bug](https://github.com/travis-ci/travis-ci/issues/1844)).

This adds those variables as a workaround until they deploy the fix in a few weeks.