Add build hook for Travis