@@ -8,7 +8,7 @@ environment:
88 MINICONDA_VERSION : " latest"
99 # CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
1010 CMD_IN_ENV : " cmd /E:ON /V:ON /C .\\ ci-helpers/appveyor/windows_sdk.cmd"
11- CONDA_CHANNELS : " ODM2 "
11+ CONDA_CHANNELS : " odm2 "
1212 CONDA_DEPENDENCIES : " scipy pandas seaborn sqlalchemy pymysql geoalchemy-odm2 shapely psycopg2"
1313 PIP_DEPENDENCIES : " pyodbc,pytest"
1414 # ,-e git+https://github.com/ODM2/geoalchemy.git@v0.7.4#egg=geoalchemy-0.7.4"
@@ -89,7 +89,7 @@ install:
8989 # the parent CMD process).
9090 - " SET PATH=%PYTHON%;%PYTHON%\\ Scripts;%PATH%"
9191 # add databases
92- - " SET PATH=%POSTGRES_PATH%\b in;%MYSQL_PATH%\b in;%PATH%"
92+ - " SET PATH=%POSTGRES_PATH%\\ bin;%MYSQL_PATH%\ \ bin;%PATH%"
9393 - " activate test"
9494
9595 # Check that we have the expected version and architecture for Python
@@ -101,17 +101,17 @@ install:
101101build_script :
102102# #https://github.com/sqlectron/sqlectron-core/blob/master/appveyor.yml
103103
104- # sqlserver
104+ # sqlserver
105105 - ps : ci-helpers\appveyor\sqlserver.ps1 SQL2008R2SP2
106106 - sqlcmd -S localhost,1433 -U sa -P Password12! -Q "CREATE DATABASE odm2" -d "master"
107107 - sqlcmd -S localhost,1433 -U sa -P Password12! -i tests/usecasesql/littlebearriver/sampledatabases/odm2_ms_sql_server/LBR_ODM2_MSSQLDump.sql -d "odm2"
108108 - sqlcmd -S localhost,1433 -U sa -P Password12! -Q "select table_name from information_schema.tables" -d "odm2"
109- # # postgres
110- # - psql createdb odm2
111- # - psql -d odm2 -a -f tests/usecasesql/marchantariats/marchantariats.sql
109+ # postgres
110+ - psql createdb marchantariats
111+ - psql -d marchantariats -a -f tests/usecasesql/marchantariats/marchantariats.sql
112112 # 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
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
115115
116116test_script :
117117 # Run the project tests
0 commit comments