Skip to content

Commit

Permalink
fix(travis): clone relevant cstor based on base path
Browse files Browse the repository at this point in the history
Signed-off-by: mittachaitu <[email protected]>
  • Loading branch information
mittachaitu authored and kmova committed Sep 14, 2020
1 parent c35e678 commit 6c7f6a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ install:
- ./configure
- make -j4
- cd ..
# we need cstor code for compiling libcstor(uZFS feature)
- git clone https://github.com/openebs/cstor.git
# we need cstor headers
# Get base name of from where we need to download cstor
- repo_org=${PWD##*/}
- git clone https://github.com/${repo_org}/cstor.git
- cd cstor
- if [ ${TRAVIS_BRANCH} == "master" ]; then git checkout develop; else git checkout ${TRAVIS_BRANCH} || git checkout develop; fi
- git branch
Expand Down

0 comments on commit 6c7f6a3

Please sign in to comment.