apparently you can't use docker run options --rm and --detach together

This commit is contained in:
Noah Levitt 2017-10-18 15:28:18 -07:00
parent a64a12289e
commit 1b172f37e9

View File

@ -28,9 +28,9 @@ services:
before_install:
- sudo service docker restart ; sleep 10 # https://github.com/travis-ci/travis-ci/issues/4778
- docker network create --driver=bridge trough
- docker run --rm --detach --network=trough --name=rethinkdb rethinkdb
- docker run --rm --detach --network=trough --name=hadoop chalimartines/cdh5-pseudo-distributed
- docker run --rm --detach --volume="$PWD/tests/run-trough.sh:/run-trough.sh" --publish=6111:6111 --publish=6112:6112 --publish=6222:6222 --publish=6444:6444 python:3 bash /run-trough.sh
- docker run --detach --network=trough --name=rethinkdb rethinkdb
- docker run --detach --network=trough --name=hadoop chalimartines/cdh5-pseudo-distributed
- docker run --detach --network=trough --volume="$PWD/tests/run-trough.sh:/run-trough.sh" --publish=6111:6111 --publish=6112:6112 --publish=6222:6222 --publish=6444:6444 python:3 bash /run-trough.sh
install:
- pip install . pytest requests warcio