Add text effect code to text shader for Text3D.
For Travis CI - switch CI build to use OS X build environment.