We present TEOBResumS, a new effective-one-body (EOB) waveform model for nonprecessing (spin-aligned) and tidally interacting compact binaries.Spin-orbit and spin-spin effects are blended together by making use of the concept of centrifugal EOB radius. The point-mass sector through merger and ringdown is informed by numerical relativity (NR) simulations of binary black holes (BBH) computed with the SpEC and BAM codes. An improved, NR-based phenomenological description of the postmerger waveform is developed.The tidal sector of TEOBResumS describes the dynamics of neutron star binaries up to merger and incorporates a resummed attractive potential motivated by recent advances in the post-Newtonian and gravitational self-force description of relativistic tidal interactions. Equation-of-state dependent self-spin interactions (monopole-quadrupole effects) are incorporated in the model using leading-order post-Newtonian results in a new expression of the centrifugal radius. TEOBResumS is compared to 135 SpEC and 19 BAM BBH waveforms. The maximum unfaithfulness to SpEC data $bar{F}$ -- at design Advanced-LIGO sensitivity and evaluated with total mass $M$ varying between $10M_odot leq M leq 200 M_odot$ --is always below $2.5 times 10^{-3}$ except for a single outlier that grazes the $7.1 times 10^{-3}$ level. When compared to BAM data, $bar{F}$ is smaller than $0.01$ except for a single outlier in one of the corners of the NR-covered parameter space, that reaches the $0.052$ level.TEOBResumS is also compatible, up to merger, to high end NR waveforms from binary neutron stars with spin effects and reduced initial eccentricity computed with the BAM and THC codes. The model is designed to generate accurate templates for the analysis of LIGO-Virgo data through merger and ringdown. We demonstrate its use by analyzing the publicly available data for GW150914.