mirror of
https://ghproxy.net/https://github.com/elementor/wp2static.git
synced 2025-08-30 13:43:54 +08:00
15 lines
626 B
YAML
15 lines
626 B
YAML
machine:
|
|
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
|
|
- docker exec plugindevwp sh /post_launch.sh # leaves site running
|
|
- echo 'launching selenium server container'
|
|
- docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:latest
|
|
- ruby rub_tests.rb
|
|
- curl --retry 10 --retry-delay 5 -v http://localhost:9200
|
|
|