language: python
# required to install gss-ntlmssp
sudo: true
# Most Python's support Xenial now, except 2.6, 3.4, and 3.5
dist: xenial
matrix:
include:
- python: 2.6
dist: trusty
- python: 2.7
- python: 3.4
dist: trusty
- python: 3.5
dist: trusty
- python: 3.6
- python: 3.7
- python: 3.8-dev
# 3.8 is still an alpha and I'm running it to see if anything breaks but
# don't want it to stop the build
allow_failures:
- python: 3.8-dev
before_install:
# install gss-ntlmssp required for tests
- sudo ./build-scripts/install_gssntlmssp.sh
install:
- pip install --upgrade pip setuptools
- pip install -r requirements-test.txt -c tests/constraints.txt
- pip install . -c tests/constraints.txt
- pip install coveralls
script:
- py.test -v --instafail --pep8 --cov pypsrp --cov-report term-missing
after_success:
- coveralls