Make WordPress Core


Ignore:
Timestamp:
10/29/2019 07:17:26 PM (5 years ago)
Author:
whyisjake
Message:

Build/Test Tools: Don't hardcode the directory name of the repo

When Travis builds the directory, it was looking for a hardcoded wordpress-develop directory. If the repo is sitting in another directory, the memcache install will fail. This allows a dynamic path for the directory.

Fixes #48444.

Props pento, whyisjake.

Location:
branches/5.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/5.3

  • branches/5.3/.travis.yml

    r46552 r46615  
    9292    cp tests/phpunit/includes/object-cache.php build/wp-content/object-cache.php
    9393    # The memcached server needs to start after `npm run env:start`, which sets up the Docker network.
    94     docker run --name memcached --net wordpress-develop_wpdevnet -d memcached
     94    docker run --name memcached --net $(basename "$PWD")_wpdevnet -d memcached
    9595  fi
    9696- |
Note: See TracChangeset for help on using the changeset viewer.