mirror of
https://github.com/capnproto/pycapnp.git
synced 2025-03-04 16:35:04 +01:00
35 lines
637 B
YAML
35 lines
637 B
YAML
# Use older, non-container infrastructure to allow sudo
|
|
sudo: required
|
|
|
|
language: python
|
|
|
|
python:
|
|
- 2.7
|
|
- 3.4
|
|
- 3.5
|
|
- 3.6
|
|
- pypy
|
|
|
|
env:
|
|
- BUILD_CAPNP=
|
|
- BUILD_CAPNP=true
|
|
- BUILD_CAPNP=true CFLAGS="-DKJ_DEBUG"
|
|
|
|
# skip testing for pypy + BUILD_CAPNP=false since it's failing in travis for some reason
|
|
matrix:
|
|
exclude:
|
|
- python: pypy
|
|
env: BUILD_CAPNP=
|
|
|
|
compiler: gcc
|
|
|
|
before_install:
|
|
- buildutils/setup_travis.sh
|
|
- travis_retry pip install -U setuptools
|
|
- travis_retry pip install cython==0.21.2
|
|
- travis_retry pip install pytest
|
|
|
|
install:
|
|
- travis_retry pip install --editable .
|
|
|
|
script: py.test test;
|