File tree Expand file tree Collapse file tree 3 files changed +6
-11
lines changed
Expand file tree Collapse file tree 3 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -42,12 +42,7 @@ addons:
4242 - wx2.8-i18n
4343
4444
45- # mariadb: '10.1'
46- before_script :
47- - ci-helpers/travis/mysql_setup.sh
48- # - ./ci-helpers/travis/mysql_setup.sh
49- - ci-helpers/travis/postgres_setup.sh
50- - ci-helpers/travis/freetds.sh
45+
5146
5247
5348before_install :
@@ -67,7 +62,7 @@ install: # now just our code
6762# mariadb: '10.1'
6863before_script :
6964 - chmod +x ./ci-helpers/travis/mysql_setup.sh
70- # - chmod +x .. /ci-helpers/travis/postgres_setup.sh
65+ # - chmod +x ./ci-helpers/travis/postgres_setup.sh
7166 - chmod +x ./ci-helpers/travis/freetds.sh
7267 - ./ci-helpers/travis/mysql_setup.sh
7368# - ./ci-helpers/travis/postgres_setup.sh
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ mysql -e "create database IF NOT EXISTS odm2test;" --user=root
2121# ####
2222# install
2323# ####
24- ls -al ./tests/scripts /sampledb/odm_mysql.sql ./tests/scripts /sampledb/odm_postgres.sql
25- mysql --user=ODM --password=odm odm < ./tests/scripts /sampledb/odm_mysql.sql
24+ ls -al ./tests/data /sampledb/odm_mysql.sql ./tests/data /sampledb/odm_postgres.sql
25+ mysql --user=ODM --password=odm odm < ./tests/data /sampledb/odm_mysql.sql
2626mysql --user=root -e " show databases;"
2727mysql --user=root -e " GRANT ALL PRIVILEGES ON odm.* TO 'ODM'@'localhost';FLUSH PRIVILEGES;"
2828# these should produce results, if they don't the lower_case_table_names failed
Original file line number Diff line number Diff line change 22psql -U postgres -c " create extension postgis"
33psql -c ' DROP DATABASE IF EXISTS odmtest;' -U postgres;
44psql -c ' create database odmtest;' -U postgres;
5- # psql -U postgres -d odmtest -a -f ./tests/scripts /sampledb/odm_postgres.sql
5+ # psql -U postgres -d odmtest -a -f ./tests/data /sampledb/odm_postgres.sql
66psql -c ' DROP DATABASE IF EXISTS odm;' -U postgres;
77psql -c ' create database odm;' -U postgres;
88 # # install
99 # add -a to psql to see full log, -q is quiet
10- psql -U postgres -q -f ./tests/scripts /sampledb/odm_postgres.sql
10+ psql -U postgres -q -f ./tests/data /sampledb/odm_postgres.sql
You can’t perform that action at this time.
0 commit comments