Added travis script
treat compiler warnings as errors
Merge pull request #2589 from Mailaender/travis

Travis CI support