Project

Profile

Help

Issue #5078

closed

Including a PR in a Travis build fails with 'pushd: not found'

Added by daviddavis over 5 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Plugin Template
Sprint:
Sprint 55
Quarter:

Description

Example: https://travis-ci.org/pulp/pulp_file/jobs/553829203#L505-L508

Error:

.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.

Also available in: Atom PDF