Try to use before_deploy hook to generate lockfile
Travis