score:12
Acording to this surfing site, which claims to have up-to-date and historical statistics about water temperature, the water is supposed to be warm enough (according to your definition) from June to October.
I'm linking below the image of the sea temperature range in Barceloneta (one of Barcelona's beaches) to save it for future readers: