DryShips posted a net loss of $15.6 million for the quarter ended June 30, 2017, widening from net loss of $9.1 million a year earlier.