Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #649 from acsone/pip-install-tweak-sbi
Browse files Browse the repository at this point in the history
give package name cue to pip install
  • Loading branch information
sbidoul committed Mar 19, 2020
2 parents b8f3e9c + 1826378 commit 6d68bed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion travis/travis_install_nightly
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,13 @@ if [[ "${MQT_DEP}" == "OCA" ]] ; then
clone_oca_dependencies
else
echo "Installing addons to test and their dependencies"
SHORT_VERSION=$(echo $VERSION | cut -d '.' -f 1)
if [[ "${VERSION}" == "10.0" || "${VERSION}" == "9.0" || "${VERSION}" == "8.0" ]] ; then
pip install odoo-autodiscover
fi
for addon in $(ls setup/ -I README -I _metapackage) ; do
echo "-e ./setup/${addon}" >> test-requirements.txt
addon_dist="odoo${SHORT_VERSION}-addon-${addon}"
echo "-e file://${PWD}/setup/${addon}#egg=${addon_dist}" >> test-requirements.txt
done
# use OCA wheelhouse because it is slightly fresher than PyPI
pip install --pre -e ${ODOO_PATH} -r test-requirements.txt \
Expand Down

0 comments on commit 6d68bed

Please sign in to comment.