mirror of
https://ghproxy.net/https://github.com/elementor/wp2static.git
synced 2025-09-01 02:21:16 +08:00
13 lines
482 B
YAML
13 lines
482 B
YAML
machine:
|
|
ruby:
|
|
services:
|
|
- docker
|
|
|
|
test:
|
|
override:
|
|
- docker build -t leonstafford/wordpress-static-html-plugin:latest .
|
|
- docker run --name devmysql -e MYSQL_ROOT_PASSWORD=banana -d mariadb
|
|
- docker run --name plugindevwp --link devmysql:mysql -p 8080:80 -d -v $(pwd):/app leonstafford/wordpress-static-html-plugin /bin/bash /post_launch.sh
|
|
- docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:latest
|
|
- /bin/bash run_tests.sh
|
|
|