That depends, does it have a Haswell or Broadwell CPU. For Broadwell, you have to go with at minimum 10.11.0. You could try 10.10.3 as Hervé pointed out as the 1st to support Broadwell, but it'll have hang issue.
For Haswell, the lowest it'll go is ML 10.8.5. That's the 1st version to support Haswell.