The Battle Resort is the best place for breeding
Go to the Battle Resort. Make sure you have a Mach Bike, as it makes everything much quicker. Once there, go to the Daycare Centre and get on your bike. If you hold 'up' you should cycle in a square continuously.
Here is a video that shows how it's done.