Skip to content

Commit 0a85085

Browse files
authored
Merge pull request #210 from daviddavis/issue4192
Use the new pulpcore-plugin repo
2 parents 006ee3b + 089ae90 commit 0a85085

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.travis/install.sh

+13-3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ set -v
33

44
export COMMIT_MSG=$(git show HEAD^2 -s)
55
export PULP_PR_NUMBER=$(echo $COMMIT_MSG | grep -oP 'Required\ PR:\ https\:\/\/github\.com\/pulp\/pulp\/pull\/(\d+)' | awk -F'/' '{print $7}')
6+
export PULP_PLUGIN_PR_NUMBER=$(echo $COMMIT_MSG | grep -oP 'Required\ PR:\ https\:\/\/github\.com\/pulp\/pulpcore-plugin\/pull\/(\d+)' | awk -F'/' '{print $7}')
67

78
pip install -r test_requirements.txt
89

@@ -15,9 +16,18 @@ if [ -n "$PULP_PR_NUMBER" ]; then
1516
popd
1617
fi
1718

18-
pushd pulp/common/ && pip install -e . && popd
19-
pushd pulp/pulpcore/ && pip install -e . && popd
20-
pushd pulp/plugin/ && pip install -e . && popd
19+
pip install -e ./pulp
20+
21+
git clone https://github.com/pulp/pulpcore-plugin.git
22+
23+
if [ -n "$PULP_PLUGIN_PR_NUMBER" ]; then
24+
pushd pulpcore-plugin
25+
git fetch origin +refs/pull/$PULP_PLUGIN_PR_NUMBER/merge
26+
git checkout FETCH_HEAD
27+
popd
28+
fi
29+
30+
pip install -e ./pulpcore-plugin
2131

2232
cd pulp_python
2333
pip install -e .

0 commit comments

Comments
 (0)