Add support for Mac in travis-tool.sh.
Update README.
Update sample.travis.yml.