Search for a diffuse flux of high-energy with the ANTARES neutrino telescope