|
@@ -168,19 +168,18 @@ before_install:
|
|
# configuration and will break travis's mysql setup
|
|
# configuration and will break travis's mysql setup
|
|
- mysql -uroot < config/create.sql
|
|
- mysql -uroot < config/create.sql
|
|
|
|
|
|
|
|
+ # Setup Postgres
|
|
|
|
+ - psql --version
|
|
|
|
+ - sudo useradd benchmarkdbuser -p benchmarkdbpass
|
|
|
|
+ - sudo -u postgres psql template1 < config/create-postgres-database.sql
|
|
|
|
+ - sudo -u benchmarkdbuser psql hello_world < config/create-postgres.sql
|
|
|
|
+ # TODO May have to change ssl to false in the config file...
|
|
addons:
|
|
addons:
|
|
postgresql: "9.3"
|
|
postgresql: "9.3"
|
|
|
|
|
|
install:
|
|
install:
|
|
# Install server prerequisites
|
|
# Install server prerequisites
|
|
- time ./toolset/run-ci.py prereq $TESTDIR
|
|
- time ./toolset/run-ci.py prereq $TESTDIR
|
|
-
|
|
|
|
-before_script:
|
|
|
|
- - psql --version
|
|
|
|
- - sudo useradd benchmarkdbuser -p benchmarkdbpass
|
|
|
|
- - sudo -u postgres psql template1 < config/create-postgres-database.sql
|
|
|
|
- - sudo -u benchmarkdbuser psql hello_world < config/create-postgres.sql
|
|
|
|
- # TODO May have to change ssl to false in the config file...
|
|
|
|
|
|
|
|
script:
|
|
script:
|
|
# Run test verification
|
|
# Run test verification
|