replace cd to pushd/popd in travis script