Skip to content

Commit

Permalink
sudo docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
agnesk92 committed Apr 30, 2020
1 parent 94ce33b commit 18d966a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ before_install:
jobs:
include:
- name: PyTest With Coverage
script: docker run -ti -v "$PWD/shared:/shared" pyghost:v1.0 bash -c "pytest --cov=./ --cov-report=xml:/shared/coverage.xml"
script: sudo docker run -ti -v "$PWD/shared:/shared" pyghost:v1.0 bash -c "ls -la /shared && pytest --cov=./ --cov-report=xml:/shared/coverage.xml"
# script: docker run -ti -v "$PWD/shared:/shared" pyghost:v1.0 bash -c "pytest --cov=./ && mv coverage.xml /shared && ls /shared"

after_success:
Expand Down

0 comments on commit 18d966a

Please sign in to comment.