Only call build hook within travis context