Skip to content

Commit

Permalink
Do not try to download Chromium by default
Browse files Browse the repository at this point in the history
This happens because the wordpress/scripts package depends on Puppeteer, which results in attempts to download Chromium when running `npm install`.

Once we use Puppeteer for end-to-end tests that can be run on Travis, we can enable the download again just for that stage.

Related: WordPress/gutenberg#15712
  • Loading branch information
swissspidy committed May 21, 2019
1 parent e21da73 commit 16e17e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ cache:
- $HOME/phpunit-bin
- $HOME/deployment-targets

env: PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true

install:
- nvm install 8.11.4 && nvm use 8.11.4
- composer install
Expand Down

0 comments on commit 16e17e6

Please sign in to comment.