mirror of
https://ghproxy.net/https://github.com/elementor/wp2static.git
synced 2025-08-30 19:39:43 +08:00
parent
7860a75c03
commit
bacbe35835
2 changed files with 4 additions and 4 deletions
|
@ -7,9 +7,7 @@ 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 attach plugindevwp sh /post_launch.sh
|
||||
- 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
|
||||
- bundle
|
||||
- /bin/bash run_tests.sh
|
||||
|
||||
|
|
|
@ -4,4 +4,6 @@ containerID=$(sudo docker ps | grep plugindevwp | grep -o -e '^\S*')
|
|||
|
||||
containerIP=$( sudo docker inspect --format="{{ .NetworkSettings.IPAddress }}" $containerID)
|
||||
|
||||
ruby run_tests.rb $containerIP
|
||||
gem install bundler
|
||||
bundle install
|
||||
bundle exec ruby run_tests.rb $containerIP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue