Skip to content

Commit 29fa1b0

Browse files
author
stephanie
committed
update travis and appveyor files
1 parent 8604c69 commit 29fa1b0

File tree

6 files changed

+21
-14
lines changed

6 files changed

+21
-14
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ addons:
3838
- libspatialite-dev
3939
# mariadb: '10.1'
4040
before_script:
41-
- ./ci-helpers/travis/mysql_setup.sh
42-
- ./ci-helpers/travis/postgres_setup.sh
41+
- ./ci-helpers/mysql_setup.sh
42+
- ./ci-helpers/postgres_setup.sh
4343
- ./ci-helpers/travis/freetds.sh
4444

4545

appveyor.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

101101
build_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

116122
test_script:
117123
# Run the project tests

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pyodbc
2+
six
23
sqlalchemy
34
-e git+https://github.com/ODM2/geoalchemy.git@v0.7.4#egg=geoalchemy-0.7.4
45
shapely
5-
#six
6-
#pandas
6+
pandas
77
#psycopg2 # Commented out because I could not pip install it.

requirements_tests.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ pytest-cov
44
mock
55
#db support
66
pymysql
7-
#pymssql
8-
psycopg2
97
#pysqlite
108
#sqlite
9+
pymssql
10+
psycopg2
1111
#pyspatialite
1212
#mysql-python
1313

1414

15+

0 commit comments

Comments
 (0)