Skip to content

Commit

Permalink
copy travis script to component
Browse files Browse the repository at this point in the history
  • Loading branch information
rrennick authored and jeffstieler committed Apr 14, 2020
1 parent 3d63ad4 commit ccbb26b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
12 changes: 7 additions & 5 deletions assets/components/e2e-env/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ jobs:
fast_finish: true
include:
- name: E2E Tests
script:
- npm explore @woocommerce/e2e-env -- npm run docker:up
- composer install
- npm run build
- npm explore @woocommerce/e2e-env -- npm run test:e2e
script:
- composer require wp-cli/i18n-command
- npm run build
- npm explore @woocommerce/e2e-env -- npm run docker:up
- npm explore @woocommerce/e2e-env -- npm run test:e2e
after_script:
- npm explore @woocommerce/e2e-env -- npm run docker:down
1 change: 1 addition & 0 deletions assets/components/e2e-env/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ services:
build:
context: ./docker/wp-cli
restart: on-failure
user: xfs
environment:
WORDPRESS_PORT: ${WORDPRESS_PORT}
WORDPRESS_HOST: wordpress-www:80
Expand Down
2 changes: 1 addition & 1 deletion assets/components/e2e-env/docker/wordpress/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM wordpress:5.3
FROM wordpress:latest

0 comments on commit ccbb26b

Please sign in to comment.