2013-12-04 17:34:23 -08:00
|
|
|
language: python
|
2015-10-30 23:07:01 +00:00
|
|
|
python:
|
2016-07-11 11:23:53 -05:00
|
|
|
- 3.5
|
|
|
|
- 3.4
|
|
|
|
- 2.7
|
|
|
|
- nightly
|
|
|
|
- pypy
|
|
|
|
- pypy3
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- python: pypy
|
|
|
|
- python: pypy3
|
2014-01-07 12:04:52 -08:00
|
|
|
|
2015-10-30 23:07:01 +00:00
|
|
|
addons:
|
2016-07-11 11:23:53 -05:00
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- python-gdbm
|
|
|
|
- python3-gdbm
|
|
|
|
- tor
|
2014-01-07 12:04:52 -08:00
|
|
|
|
2015-11-02 22:26:02 +00:00
|
|
|
services:
|
2016-07-11 11:23:53 -05:00
|
|
|
- docker
|
2015-11-02 22:26:02 +00:00
|
|
|
|
2015-11-02 22:21:43 +00:00
|
|
|
before_install:
|
2016-07-11 11:23:53 -05:00
|
|
|
- sudo service docker restart ; sleep 10 # https://github.com/travis-ci/travis-ci/issues/4778
|
|
|
|
- docker run -d --publish=28015:28015 rethinkdb
|
2015-11-02 22:21:43 +00:00
|
|
|
|
2014-01-07 14:10:39 -08:00
|
|
|
before_script:
|
2016-07-11 11:23:53 -05:00
|
|
|
- pip install . pytest requests
|
2014-01-07 14:00:46 -08:00
|
|
|
|
2015-11-02 22:21:43 +00:00
|
|
|
script:
|
2016-07-11 11:23:53 -05:00
|
|
|
- py.test -v -s tests
|
|
|
|
- py.test -v -s --rethinkdb-servers=localhost tests tests
|
|
|
|
- py.test -v -s --rethinkdb-servers=localhost --rethinkdb-big-table tests
|
2013-12-04 17:34:23 -08:00
|
|
|
|