language: python

python:
  - 2.6
  - 2.7
  - 3.3
  - 3.4
  - pypy

env:
  - BUILD_CAPNP=
  - BUILD_CAPNP=true
  - BUILD_CAPNP=true CXXFLAGS="-g"

# 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;

language: python

python:
  - 2.6
  - 2.7
  - 3.3
  - 3.4
  - 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;

Change Travis debug build to use DKJ_DEBUG
Change Travis debug build to use DKJ_DEBUG
