Fixed a bug on ubuntu

Signed-off-by: zdd <zddhub@gmail.com>
Add travis

Signed-off-by: zdd <zddhub@gmail.com>