Skip to content

Commit bc073cf

Browse files
committed
Fix volume permissions
1 parent be98f60 commit bc073cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,11 @@ jobs:
115115
- echo "Running E2E tests"
116116
script:
117117
- npm run env:start
118+
- docker-compose exec wordpress bash -c "chown -R www-data:www-data /var/www/html/wp-content/" # ensure WP folders have correct permissions
119+
- docker-compose exec mysql bash -c "chown -R mysql:mysql /var/lib/mysql"
118120
- npm run wp -- wp core install --title=WordPress --admin_user=admin --admin_password=password [email protected] --skip-email --url=http://localhost:8088
119121
- npm run wp -- wp plugin activate material-design
122+
- sudo chown -R travis:travis tests node_modules
120123
- npm run test:e2e
121124

122125
- name: JS unit tests (7.4, WordPress latest, with code coverage)

0 commit comments

Comments
 (0)