@@ -22,15 +22,15 @@ environment:
2222 POSTGRES_ENV_POSTGRES_USER : postgres
2323 POSTGRES_ENV_POSTGRES_PASSWORD : Password12!
2424 POSTGRES_ENV_POSTGRES_DB : odm2
25- POSTGRES_PATH : C:\Program Files\PostgreSQL\9.4\bin
25+ POSTGRES_PATH : C:\\ Program Files\\ PostgreSQL\\ 9.4
2626 PGUSER : postgres
2727 PGPASSWORD : Password12!
2828 # mysql
2929 MYSQL_PORT : tcp://localhost:3306
3030 MYSQL_ENV_MYSQL_USER : root
3131 MYSQL_ENV_MYSQL_PASSWORD : Password12!
3232 MYSQL_ENV_MYSQL_DATABASE : odm2
33- MYSQL_PATH : C:\Program Files\MySql\MySQL Server 5.6\bin
33+ MYSQL_PATH : C:\\ Program Files\\ MySql\\ MySQL Server 5.6
3434 MYSQL_PWD : Password12!
3535 # sql server
3636 SQLSERVER_ENV_SQLSERVER_HOST : localhost
@@ -100,18 +100,24 @@ install:
100100
101101build_script :
102102# #https://github.com/sqlectron/sqlectron-core/blob/master/appveyor.yml
103+ - echo %PATH%
104+
105+ # postgres
106+ - ./ci-helpers/postgres_setup.sh
107+ # - psql createdb marchantariats
108+ # - psql -d marchantariats -a -f tests/usecasesql/marchantariats/marchantariats.sql
109+
110+
111+ # mysql
112+ - ./ci-helpers/mysql_setup.sh
113+ # - mysql -e "drop database test; create database odm2;" --user=root
114+ # - mysql odm2 < tests/usecasesql/littlebearriver/sampledatabases/odm2_mysql/LBR_MySQL_SmallExample.sql --user=root
103115
104116 # sqlserver
105117 - ps : ci-helpers\appveyor\sqlserver.ps1 SQL2008R2SP2
106118 - sqlcmd -S localhost,1433 -U sa -P Password12! -Q "CREATE DATABASE odm2" -d "master"
107119 - sqlcmd -S localhost,1433 -U sa -P Password12! -i tests/usecasesql/littlebearriver/sampledatabases/odm2_ms_sql_server/LBR_ODM2_MSSQLDump.sql -d "odm2"
108120 - sqlcmd -S localhost,1433 -U sa -P Password12! -Q "select table_name from information_schema.tables" -d "odm2"
109- # postgres
110- - psql createdb marchantariats
111- - psql -d marchantariats -a -f tests/usecasesql/marchantariats/marchantariats.sql
112- # mysql
113- - mysql -e "drop database test; create database odm2;" --user=root
114- - mysql odm2 < tests/usecasesql/littlebearriver/sampledatabases/odm2_mysql/LBR_MySQL_SmallExample.sql --user=root
115121
116122test_script :
117123 # Run the project tests
0 commit comments