travis-ci script for OS X
Merge branches 'curses' and 'macosx-travis' into macosx

Conflicts:
	.travis.yml