Skip to content
Snippets Groups Projects
Commit c5eea8b7 authored by David Trudgian's avatar David Trudgian
Browse files

Coveralls symlink hack

parent c8209e8a
No related merge requests found
...@@ -23,6 +23,8 @@ if [[ $TRAVIS_PYTHON_VERSION == "3.5"* ]]; then ...@@ -23,6 +23,8 @@ if [[ $TRAVIS_PYTHON_VERSION == "3.5"* ]]; then
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 --name clair-singularity --link clair:clair clair_singularity pytest tests/ -v --cov clair_singularity --cov-report term-missing
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
# TODO - fix this bodge properly by running coveralls inside the container (think needs some ENV passed in)
sudo ln -s $TRAVIS_BUILD_DIR /app
coveralls -b $TRAVIS_BUILD_DIR coveralls -b $TRAVIS_BUILD_DIR
fi fi
fi fi
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