added OSX os to travis
moved travis-ci stuff to separate script
fixing issue with last commit
fixed typo
only runs linux build script on linux now
added osx support
disabled X11 for SDL on OS X
this should work
fixes linux failing if os x fails
now doesnt link x11 on apple