Skip to content

Commit

Permalink
Test PURE_PYTHON at runtime.
Browse files Browse the repository at this point in the history
Turns out that the C extensions build and work fine with PyPy, but don't use them by default. Let them
be forced, though.

Tests needed some refactoring to account for the various permutations.
  • Loading branch information
jamadden committed Jan 21, 2020
1 parent efc83ea commit e76d03f
Show file tree
Hide file tree
Showing 14 changed files with 426 additions and 324 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ jobs:
- sphinx-build -b doctest -d docs/_build/doctrees docs docs/_build/doctest
after_success:

- name: PyPy C Extensions
env: PURE_PYTHON=0
python: pypy

- name: CPython No C Extension
env: PURE_PYTHON=1
python: 3.8

# manylinux wheel builds
- name: 64-bit manylinux wheels (all Pythons)
services: docker
Expand Down
Loading

0 comments on commit e76d03f

Please sign in to comment.