fixed and improved travis build