Skip to content

Commit 948a2c8

Browse files
committed
and attempt to build landlab/master when branch name is not 'release'
1 parent 8defd34 commit 948a2c8

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,19 @@ install:
3434
- conda create -n _testing python=$TRAVIS_PYTHON_VERSION
3535
- source activate _testing
3636
- conda install scripting -c csdms-stack
37+
- |
38+
if [[ "$TRAVIS_BRANCH" == "release" ]]; then
39+
conda install landlab jupyter -c landlab
40+
else
41+
git clone --depth=50 https://github.com/landlab/landlab.git landlab/landlab
42+
cd landlab/landlab
43+
git fetch origin master
44+
git checkout -qf master
45+
git submodule update --init --recursive
46+
conda install --file=requirements.txt
47+
python setup.py develop
48+
cd ../..
49+
fi
3750
- conda install landlab jupyter -c landlab
3851
- conda info -a && conda list
3952
script:

0 commit comments

Comments
 (0)