use pushd and popd in travis