Skip to content

Commit d297786

Browse files
committed
Use pushd/popd instead of cd.
1 parent 6c2f822 commit d297786

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.travis.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,21 +38,20 @@ install:
3838
if [[ "$TRAVIS_BRANCH" == "release" ]]; then
3939
conda install landlab -c landlab
4040
else
41-
pwd
42-
cd ../..
41+
pushd ../..
4342
git clone --depth=50 https://github.com/landlab/landlab.git landlab/landlab
44-
cd landlab/landlab
43+
pushd landlab/landlab
4544
git fetch origin master
4645
git checkout -qf master
4746
git submodule update --init --recursive
4847
conda install --file=requirements.txt
4948
python setup.py develop
50-
cd ../../landlab/tutorials
49+
popd
50+
popd
5151
fi
5252
- conda install jupyter dask holoviews pytest
5353
- conda info -a && conda list
5454
script:
55-
- pwd
56-
- travis_wait 50 pytest # the cellular atomata test takes over 10 minutes, and the entire process takes about 30 minutes, so we'll give it 50 min
55+
- travis_wait 50 pytest -vvv # the cellular atomata test takes over 10 minutes, and the entire process takes about 30 minutes, so we'll give it 50 min
5756
virtualenv:
5857
system_site_packages: false

0 commit comments

Comments
 (0)