2015-05-28 14:25:40 -04:00
|
|
|
# Use older, non-container infrastructure to allow sudo
|
|
|
|
sudo: required
|
|
|
|
|
2013-08-12 16:04:39 -07:00
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
2013-08-12 17:35:20 -07:00
|
|
|
- 2.6
|
2013-08-12 16:04:39 -07:00
|
|
|
- 2.7
|
2013-08-12 17:35:20 -07:00
|
|
|
- 3.3
|
2015-02-01 12:26:17 +02:00
|
|
|
- 3.4
|
2013-08-12 17:30:48 -07:00
|
|
|
- pypy
|
2013-08-12 17:14:47 -07:00
|
|
|
|
2014-12-11 22:11:25 -08:00
|
|
|
env:
|
|
|
|
- BUILD_CAPNP=
|
2015-03-10 00:08:01 -07:00
|
|
|
- BUILD_CAPNP=true
|
2015-03-10 00:33:00 -07:00
|
|
|
- BUILD_CAPNP=true CFLAGS="-DKJ_DEBUG"
|
2014-12-11 22:11:25 -08:00
|
|
|
|
2015-02-02 07:26:17 +02:00
|
|
|
# skip testing for pypy + BUILD_CAPNP=false since it's failing in travis for some reason
|
|
|
|
matrix:
|
|
|
|
exclude:
|
|
|
|
- python: pypy
|
|
|
|
env: BUILD_CAPNP=
|
|
|
|
|
2013-08-12 17:10:47 -07:00
|
|
|
compiler: gcc
|
2013-08-12 17:03:32 -07:00
|
|
|
|
2013-08-12 16:04:39 -07:00
|
|
|
before_install:
|
2014-12-11 22:11:25 -08:00
|
|
|
- buildutils/setup_travis.sh
|
2015-02-02 07:18:29 +02:00
|
|
|
- travis_retry pip install -U setuptools
|
2015-02-20 17:21:00 -08:00
|
|
|
- travis_retry pip install cython==0.21.2
|
2015-02-02 07:18:29 +02:00
|
|
|
- travis_retry pip install pytest
|
2013-08-12 16:04:39 -07:00
|
|
|
|
|
|
|
install:
|
2015-02-02 07:18:29 +02:00
|
|
|
- travis_retry pip install --editable .
|
2013-08-12 16:04:39 -07:00
|
|
|
|
2015-02-02 07:26:17 +02:00
|
|
|
script: py.test test;
|