GlaxoSmithKline (GSK) has signed a five-year partnership deal with Vodafone McLaren Mercedes' Formula One team for its Lucozade sports brand.