Build dependencies in travis