Simplify Travis configuration, add retry for pip