Skip to content

Commit

Permalink
CI update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Red-M committed Dec 29, 2019
1 parent ab258f8 commit 4360c87
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ PATH=$PATH:~/.local/bin
CI_SYSTEM=${1}
PYTHON_VERSION=${2}


pip${PYTHON_VERSION} install --upgrade --user coveralls pytest-cov pytest-xdist paramiko > /dev/null
if [ ${CI_SYSTEM} == "TRAVIS" ]; then
pip${PYTHON_VERSION} install --upgrade coveralls pytest-cov pytest-xdist paramiko > /dev/null
else
pip${PYTHON_VERSION} install --upgrade --user coveralls pytest-cov pytest-xdist paramiko > /dev/null
fi
py.test --cov redssh --cov-config .coveragerc
coverage html
coveralls || true

0 comments on commit 4360c87

Please sign in to comment.