correct cmake version and re-order travis steps