Add log dir creation to travis script