Skip to content

Commit fec839a

Browse files
committed
Test with pypy3.6
Right now this is available as pypy3 in Travis CI. Running black on PyPy needs to be disabled for now because of an issue[1] that's been patched only recently and it's not available in Travis yet. [1] https://bitbucket.org/pypy/pypy/issues/2985/pypy36-osreplace-pathlike-typeerror
1 parent c2e8bde commit fec839a

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ python:
55
- "3.7"
66
- "3.8"
77
- "pypy3.5"
8+
- "pypy3"
89
install:
910
- pip install -r requirements-dev.txt
1011
# mypy can't be installed on pypy
1112
- if [[ "${TRAVIS_PYTHON_VERSION}" != "pypy"* ]] ; then pip install mypy ; fi
12-
- if [[ "${TRAVIS_PYTHON_VERSION}" != *"3.5"* ]] ; then pip install black ; fi
13+
- if [[ "${TRAVIS_PYTHON_VERSION}" != *"3.5"* && "${TRAVIS_PYTHON_VERSION}" != "pypy"* ]] ; then
14+
pip install black ; fi
1315
script:
1416
# no IPv6 support in Travis :(
1517
- make TEST_ARGS='-a "!IPv6"' ci

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LINT_TARGETS:=flake8
99
ifneq ($(findstring PyPy,$(PYTHON_IMPLEMENTATION)),PyPy)
1010
LINT_TARGETS:=$(LINT_TARGETS) mypy
1111
endif
12-
ifneq ($(findstring 3.5,$(PYTHON_VERSION)),3.5)
12+
ifeq ($(or $(findstring 3.5,$(PYTHON_VERSION)),$(findstring PyPy,$(PYTHON_IMPLEMENTATION))),)
1313
LINT_TARGETS:=$(LINT_TARGETS) black_check
1414
endif
1515

0 commit comments

Comments
 (0)