Fixed Period Rollover Day
I set up same membership on dmaster.demo.civicrm.org and it all worked as expected giving me an End Date of June 30 2018.

The system resets data every 24 hours but it is there currently if you want to take a look.

Membership Type



Membership