You will earn Battle Points (BP) after defeating every single trainer. The BP you earn depends on your current win streak and whether you're in normal or super battles.
You earn bp after defeating every single trainer, as said above. Read the source for more information! Hope this helps. Source