improved travis script