Skip to content

Commit 5f09d1f

Browse files
authored
Merge pull request #177 from stefanv/correct_cesium_on_dependent_trigger
Use dependent_build_server specified version of Cesium
2 parents f2be9f6 + 492f434 commit 5f09d1f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.travis/travis_install.sh

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,20 @@ section_end "install.base.requirements"
1111

1212

1313
section "install.cesium.requirements"
14-
pip install -e git://github.com/cesium-ml/cesium.git#egg=cesium
14+
15+
if [[ -n ${TRIGGERED_FROM_REPO} ]]; then
16+
mkdir cesium-clone
17+
cd cesium-clone
18+
git init
19+
git remote add origin git://github.com/${TRIGGERED_FROM_REPO}
20+
git fetch --depth=1 origin ${TRIGGERED_FROM_BRANCH}
21+
git checkout -b ${TRIGGERED_FROM_BRANCH} ${TRIGGERED_FROM_SHA}
22+
pip install .
23+
cd ..
24+
else
25+
pip install -e git://github.com/cesium-ml/cesium.git#egg=cesium
26+
fi
27+
1528
pip install --retries 3 -r requirements.txt
1629
pip list --format=columns
1730
section_end "install.cesium.requirements"

0 commit comments

Comments
 (0)