Try to use the same initialization steps for travis.