Adding travis ci support
(cherry picked from commit f0b17be5ad7155138c8016219439bdadc151057c)