Skip to content

Commit

Permalink
ci(.travis.yml): use change branch of modflow6-examples (#242)
Browse files Browse the repository at this point in the history
if modflow6-examples has a branch with the same name as the modflow6 branch that is being tested, then checkout that branch of modflow6-examples for the z01 autotest
  • Loading branch information
langevin-usgs authored Nov 5, 2019
1 parent cf315c9 commit 991a63d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ script:
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH"
- pwd
- git clone https://github.com/MODFLOW-USGS/modflow6-examples.git ../modflow6-examples
- cd ../modflow6-examples
- if git show-ref -q --heads $BRANCH; then
git checkout $BRANCH; echo switched to modflow6-examples branch $BRANCH;
else echo using modflow6-examples branch master; fi
- git branch
- cd ../modflow6
- ls ../
- which python
- python --version
Expand Down

0 comments on commit 991a63d

Please sign in to comment.