Aims. There are a growing number of giant planets discovered moving around one stellar component of a binary star, most of which have very diverse eccentricity. These discoveries raise the question of their formation and long-term evolution because the stellar companion can strongly affect the planet formation process. We aim to study the dynamical influence of a wide binary companion on the evolution of a single giant planet migrating in a protoplanetary disk. Methods. Using a symplectic N-body integrator adapted for binary star systems and modeling the dissipation due to the disk by appropriate formulae emerging from hydrodynamical simulations, we carried out 3200 simulations with different orbital parameters for the planet and different eccentricity and inclination values for the binary companion. The long-term evolution of the planets was followed for 100 Myr and the different dynamical behaviors were unveiled using a quadrupolar Hamiltonian approach. Results. We show that a capture in a Lidov-Kozai resonant state is far from automatic when the binary companion star is highly inclined, since only 36% of the systems end up locked in the resonance at the end of the simulations. Nevertheless, in the presence of a highly inclined binary companion, all the planetary evolutions are strongly influenced by the Lidov-Kozai resonance and the nonresonant evolutions present high eccentricity and inclination variations associated with circulation around the Lidov-Kozai islands.