Skip to content

Commit

Permalink
Merge pull request #97 from release-engineering/fix-centos6-tests
Browse files Browse the repository at this point in the history
Fix CentOS 6 Travis CI tests
  • Loading branch information
lcarva authored May 22, 2018
2 parents 7ded15b + 5082ba5 commit e6cf013
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@ $RUN $PYTHON setup.py install
$RUN $PIP install -r tests/requirements.txt

# CentOS needs to have setuptools updates to make pytest-cov work
if [[ $OS != "fedora" ]]; then $RUN $PIP install -U setuptools; fi
if [[ $OS != "fedora" ]]; then
$RUN $PIP install -U setuptools
# Watch out for https://github.com/pypa/setuptools/issues/937
$RUN curl -O https://bootstrap.pypa.io/2.6/get-pip.py
$RUN $PYTHON get-pip.py
fi

# Run tests
$RUN pytest -vv tests --cov koji_containerbuild

0 comments on commit e6cf013

Please sign in to comment.