Skip to content

Commit

Permalink
add windows to travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhadfield committed Mar 4, 2020
1 parent f26bc94 commit 94fcb6d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
11 changes: 9 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,14 @@ sudo: required
matrix:
include:
# - os: windows
# python: '2.7'
# python: '3.8'
# language: shell
# before_install:
# - choco install python --version 3.8.0
# - python --version
# - python -m pip install --upgrade pip
# - pip3 install --upgrade pytest
# env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
- os: linux
dist: trusty
sudo: false
Expand Down Expand Up @@ -39,7 +46,7 @@ install:
- pip install coveralls
- pip install tox-travis
script:
- tox
- tox -- -vv
after_success:
- coveralls
- bash <(curl -s https://codecov.io/bash)
9 changes: 6 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[tox]
envlist = py27, py335, py352, py37
envlist = py27, py335, py352, py37, py38
skip_missing_interpreters=true

[travis]
python =
3.8: py38
3.7: py37
3.5: py35
;3.4: py34
3.3: py33
2.7: py27
pypy: pypy
Expand All @@ -18,7 +18,10 @@ changedir = tests/
python_files = *.py
python_functions = test_
norecursedirs = .tox .git
commands = py.test --cov-report term-missing --cov python-hosts
commands =
{envpython} --version
py.test --cov-report term-missing --cov python-hosts

deps =
enum-compat
win_inet_pton
Expand Down

0 comments on commit 94fcb6d

Please sign in to comment.