Restore unset -f cd (#8467)

Co-authored-by: Mehrdad <noreply@github.com>
This commit is contained in:
mehrdadn 2020-05-16 09:54:59 -07:00 committed by GitHub
parent bd169749e0
commit c8cd716295
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,6 +8,7 @@ git:
quiet: true quiet: true
before_install: before_install:
- unset -f cd # Travis defines this on Mac for RVM, but it breaks the Mac build
- | - |
git clone -q -n "https://github.com/${TRAVIS_REPO_SLUG}.git" "${TRAVIS_REPO_SLUG}" git clone -q -n "https://github.com/${TRAVIS_REPO_SLUG}.git" "${TRAVIS_REPO_SLUG}"
cd -- "${TRAVIS_REPO_SLUG}" cd -- "${TRAVIS_REPO_SLUG}"