July trial set for former Carlisle cop accused of corruption