Skip to content
Permalink
Browse files

travis: add mssql testing

  • Loading branch information...
robertcv committed Jan 4, 2019
1 parent d24ca59 commit ea8205a20acd6a74dfd7c829abed7f0bd00c7184
Showing with 11 additions and 0 deletions.
  1. +3 −0 .travis.yml
  2. +7 −0 .travis/install_mssql.sh
  3. +1 −0 .travis/stage_install.sh
@@ -2,6 +2,9 @@ language: python

dist: xenial

services:
- docker

matrix:
include:
- env: RUN_PYLINT=true
@@ -0,0 +1,7 @@
sudo docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=YourStrong!Passw0rd' \
-p 1433:1433 -d microsoft/mssql-server-linux:2017-latest

export PYMSSQL_BUILD_WITH_BUNDLED_FREETDS=1
pip install pymssql

export ORANGE_TEST_DB_URI="${ORANGE_TEST_DB_URI}|mssql://SA:YourStrong!Passw0rd@0.0.0.0:1433"
@@ -4,6 +4,7 @@
for script in \
install_orange.sh \
install_postgres.sh \
install_mssql.sh \
install_pyqt.sh
do
foldable source $TRAVIS_BUILD_DIR/.travis/$script

0 comments on commit ea8205a

Please sign in to comment.
You can’t perform that action at this time.