Including a PR in a Travis build fails with 'pushd: not found'
.travis/before_install.sh: 49: .travis/before_install.sh: pushd: not found fatal: not a git repository (or any of the parent directories): .git fatal: not a git repository (or any of the parent directories): .git .travis/before_install.sh: 52: .travis/before_install.sh: popd: not found
We think the problem is that Travis is using Ubuntu which has dash and push/popd are bash extensions.
Use bash and the more secure
set -mveuo pipefail(as in other scripts)
Use shallow clones and shallow fetch to speed up the CI run (Especially pulpcore takes a long time to clone completely. We don't need any history when building in the CI.)
get rid of pushd/popd (bashism that is not needed here)
#3 Updated by gmbnomis over 1 year ago
- Status changed from NEW to MODIFIED
Applied in changeset plugin_template|06541f8c0bd311889d556800f530cc257d3d3940.
Please register to edit this issue