docker volume $TRAVIS_BUILD_DIR

This commit is contained in:
Noah Levitt 2015-10-02 01:19:16 +00:00
parent e909ccfc40
commit 9257a31057

View File

@ -11,5 +11,5 @@ services:
before_install:
- docker build -t internetarchive/rethinkdb tests
script:
- docker run --rm -i -t internetarchive/rethinkdb /sbin/my_init -- bash -x -c "cd /rethinkstuff && /tmp/venv && source /tmp/venv/bin/activate && pip install pytest . && py.test -v -s tests"
- docker run --rm -i -t --volume="$TRAVIS_BUILD_DIR:/rethinkstuff" internetarchive/rethinkdb /sbin/my_init -- bash -x -c "cd /rethinkstuff && /tmp/venv && source /tmp/venv/bin/activate && pip install pytest . && py.test -v -s tests"