diff --git a/appveyor.yml b/appveyor.yml index fb77ba7d2..916cdd0b4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -23,6 +23,14 @@ build: off # scripts to run before build before_build: - cmd: echo Running scripts before build... +- cmd: cp extensions\database\test\conf\appveyor_int_tests.xml extensions\database\test\conf\int_tests.xml +- cmd: >- + $env:MYSQL_PWD="password" + $cmd = '"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" -e "create database test_db;" --user=root' + iex "& $cmd" + $cmd = '"C:\Program Files\MySQL\MySQL Server 5.7\bin\mysql" -u root test_db < extensions/database/test/conf/travis-mysql.sql' + iex "& $cmd" + build_script: # - cmd: >- diff --git a/extensions/database/test/conf/appveyor_int_tests.xml b/extensions/database/test/conf/appveyor_int_tests.xml new file mode 100644 index 000000000..40507b7a4 --- /dev/null +++ b/extensions/database/test/conf/appveyor_int_tests.xml @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +