Commit 87325312 authored by David Trudgian's avatar David Trudgian
Browse files

Try to run coveralls inside docker

parent 31a68f61
...@@ -21,11 +21,6 @@ if [[ $TRAVIS_PYTHON_VERSION == "3.5"* ]]; then ...@@ -21,11 +21,6 @@ if [[ $TRAVIS_PYTHON_VERSION == "3.5"* ]]; then
# Clear out any old .pyc from the local tests # Clear out any old .pyc from the local tests
find . -name *.pyc -delete find . -name *.pyc -delete
docker run -v $TRAVIS_BUILD_DIR:/app --privileged --name clair-singularity --link clair:clair clair_singularity pytest tests/ -v --cov clair_singularity --cov-report term-missing docker run -v $TRAVIS_BUILD_DIR:/app --privileged --link clair:clair clair_singularity pytest tests/ -v --cov clair_singularity --cov-report term-missing
if [ $? -eq 0 ]; then docker run -e TRAVIS=$TRAVIS -e TRAVIS_JOB_ID=$TRAVIS_JOB_ID -v $TRAVIS_BUILD_DIR:/app --privileged clair_singularity coveralls
# TODO - fix this bodge properly by running coveralls inside the container (think needs some ENV passed in)
sudo ln -s $TRAVIS_BUILD_DIR /app
cd /app
coveralls
fi
fi fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment