Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
BioHPC
clair-singularity
Commits
87325312
Commit
87325312
authored
Aug 25, 2017
by
David Trudgian
Browse files
Try to run coveralls inside docker
parent
31a68f61
Changes
1
Hide whitespace changes
Inline
Side-by-side
build_scripts/travis_tests.sh
View file @
87325312
...
...
@@ -21,11 +21,6 @@ if [[ $TRAVIS_PYTHON_VERSION == "3.5"* ]]; then
# Clear out any old .pyc from the local tests
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
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
cd
/app
coveralls
fi
docker run
-v
$TRAVIS_BUILD_DIR
:/app
--privileged
--link
clair:clair clair_singularity pytest tests/
-v
--cov
clair_singularity
--cov-report
term-missing
docker run
-e
TRAVIS
=
$TRAVIS
-e
TRAVIS_JOB_ID
=
$TRAVIS_JOB_ID
-v
$TRAVIS_BUILD_DIR
:/app
--privileged
clair_singularity coveralls
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment