Add travis build configuration
compilation fix
Merge branch 'dev_travis' into dev_stats