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 19, 2017
1 parent 4300efe commit 99272f0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis/script.sh
Original file line number Diff line number Diff line change
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 @@ -61,7 +70,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 99272f0

Please sign in to comment.