[buddypress-trac] [BuddyPress Trac] #7209: Fix Travis CI `node_modules` directory cache
buddypress-trac
noreply at wordpress.org
Wed Aug 3 11:30:19 UTC 2016
#7209: Fix Travis CI `node_modules` directory cache
------------------------------+---------------------
Reporter: netweb | Owner: netweb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 2.7
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: |
------------------------------+---------------------
Changes (by DJPaul):
* keywords: needs-patch =>
Comment:
This broke things.
{{{
$ mkdir -p $WP_DEVELOP_DIR
$ git clone --depth=1 --branch="$WP_VERSION"
git://develop.git.wordpress.org/ $WP_DEVELOP_DIR
fatal: destination path '/tmp/wordpress' already exists and is not an
empty directory.
```
}}}
As the folder `/tmp/wordpress/src/wp-
content/plugins/buddypress/node_modules` already exists now as it’s
restored as part the cache loading, trying to create
`/tmp/wordpress/`again with `mkdir -p $WP_DEVELOP_DIR` causes the fatal.
If we wanted to go ahead with this, I think we'd have to clone into
another folder, then move everything back into /tmp/wordpress, but @netweb
is giving this some proper thought. For now, I'll revert.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7209#comment:6>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list