Skip to content

Commit 8261e52

Browse files
committed
Add Sql Server driver to Travis
1 parent cd6f75f commit 8261e52

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ python:
2121
install:
2222
- pip install -r requirements/$TRAVIS_PYTHON_VERSION.txt
2323

24+
before_script: # add the mssql driver for xenial
25+
- curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
26+
- curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
27+
- sudo apt-get -qq update
28+
- sudo ACCEPT_EULA=Y apt-get -y install msodbcsql17
29+
2430
script:
2531
- flake8
2632
- py.test -sv --cov-config .coveragerc --cov-report html:skip-covered --cov-report term:skip-covered --cov=testcontainers --tb=short tests/

0 commit comments

Comments
 (0)