use linux and osx at .travis.yml

https://github.com/travis-ci/travis-ci/issues/216