  An offline search for a neutrino counterpart to gravitational-wave (GW)
events detected during the second observation run (O2) of Advanced-LIGO and
Advanced-Virgo performed with ANTARES data is presented. In addition to the
search for long tracks induced by $\nu_\mu$ ($\bar{\nu}_{\mu}$) charged current
interactions, a search for showering events induced by interactions of
neutrinos of any flavour is conducted. The severe spatial and time coincidence
provided by the gravitational-wave alert allows regions above the detector
horizon to be probed, extending the ANTARES sensitivity over the entire sky.
The results of this all-neutrino-flavour and all-sky time dependent analysis
are presented. The search for prompt neutrino emission within $\pm$500~s around
the time of six GW events yields no neutrino counterparts. Upper limits on the
neutrino spectral fluence and constraints on the isotropic radiated energy are
set for each GW event analysed.
