From 9257a31057b0220cc12e3d9282c196e7c6c2963e Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Fri, 2 Oct 2015 01:19:16 +0000 Subject: [PATCH] docker volume $TRAVIS_BUILD_DIR --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b952cde..2970d65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"