Change pushd and popd to cd, it seems that it doesn't work on travis