try it this way travis

This commit is contained in:
Noah Levitt 2015-10-01 23:33:49 +00:00
parent 87d2f11090
commit a12ee18f34

View File

@ -1,10 +1,15 @@
sudo: required
language: python
python:
- 3.4
- 3.5
- 2.7
- 2.7
- 3.4
- 3.5
- nightly
- pypy
services:
- docker
- docker
before_install:
- docker build -t internetarchive/rethinkdb tests
script:
- ./tests/run-tests.sh
- docker run --rm -i -t --volume="..:/rethinkstuff" internetarchive/rethinkdb /sbin/my_init -- bash -x -c "cd /rethinkstuff && virtualenv -p $python /tmp/venv && source /tmp/venv/bin/activate && pip install pytest . && py.test -v -s tests"