Skip to content

Commit

Permalink
Correction in the travis config to actually run tests against MaxScale
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrinn committed Dec 7, 2017
1 parent 7c445fb commit 16fd599
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis/script.sh
Expand Up @@ -10,6 +10,15 @@ mysql=( mysql --protocol=tcp -ubob -h127.0.0.1 --port=3305 )
export COMPOSE_FILE=.travis/docker-compose.yml


if [ -n "$MAXSCALE_VERSION" ]
then
mysql=( mysql --protocol=tcp -ubob -h127.0.0.1 --port=4007 )
export COMPOSE_FILE=.travis/maxscale-compose.yml
export TEST_PORT=4007
else
export TEST_PORT=3305
fi


###################################################################################################################
# launch docker server and maxscale
Expand Down Expand Up @@ -60,7 +69,6 @@ rm build -rf
#build odbc connector
export TEST_DRIVER=maodbc_test
export TEST_DSN=maodbc_test
export TEST_PORT=3305
export TEST_SERVER=mariadb.example.com
export TEST_SOCKET=
export TEST_SCHEMA=odbc_test
Expand Down

0 comments on commit 16fd599

Please sign in to comment.