fixed #2105: Adding Travis build support. Moving script to 'tools/travis-script'.