Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Commit

Permalink
Use wp-env instead of wp:env, maybe this will help
Browse files Browse the repository at this point in the history
Using a Gutenberg PR as inspiration:
WordPress/gutenberg#20280
  • Loading branch information
kienstra committed May 3, 2020
1 parent c3a2fa1 commit 8799c42
Show file tree
Hide file tree
Showing 3 changed files with 719 additions and 6 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,8 @@ before_script:
curl -sL https://github.com/docker/compose/releases/download/1.24.0/docker-compose-Linux-x86_64 > docker-compose
chmod +x docker-compose
sudo mv docker-compose /usr/local/bin
npm install dotenv wait-on
PHP_FPM_UID=$(id -u) PHP_FPM_GID=$(id -g) npm run env install
# Connect Gutenberg to WordPress.
npm run env connect
echo '{ "config": { "SCRIPT_DEBUG": false } }' > .wp-env.override.json
npm run wp-env start
fi
script:
Expand Down
Loading

0 comments on commit 8799c42

Please sign in to comment.