Skip non-existing test-requirements with pip install
Change-Id: I251445672b46be1e31261c56501b9180f2e1a748 Closes-Bug: #1530421
This commit is contained in:
parent
e45dbbf0ba
commit
c8ba535aa1
|
@ -179,7 +179,8 @@ if [ "$FAST" -eq 0 ] ; then
|
|||
else
|
||||
git checkout -b $BRANCH remotes/origin/$BRANCH
|
||||
fi
|
||||
pip install -rrequirements.txt -rtest-requirements.txt
|
||||
pip install -rrequirements.txt
|
||||
[ -e "test-requirements.txt" ] && pip install -rtest-requirements.txt
|
||||
python setup.py install
|
||||
popd
|
||||
|
||||
|
@ -187,8 +188,9 @@ if [ "$FAST" -eq 0 ] ; then
|
|||
while read extra; do
|
||||
(
|
||||
cd $SOURCESDIR/$extra
|
||||
pip install -rrequirements.txt \
|
||||
-rtest-requirements.txt
|
||||
pip install -rrequirements.txt
|
||||
[ -e "test-requirements.txt" ] && pip install -rtest-requirements.txt
|
||||
fi
|
||||
python setup.py install
|
||||
)
|
||||
done < extra_repos/$project-$RELEASE.txt
|
||||
|
|
Loading…
Reference in New Issue