diff --git a/.travis.yml b/.travis.yml index 119aeda264d9..7ddbc857fbc3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -76,8 +76,10 @@ install: sudo dpkg -i *.deb; fi - cd .. - # Clone and build libcstor for uzfs feature - - git clone https://github.com/openebs/libcstor.git + # Get base name from where we need to download libcstor + - repo_org=${PWD##*/} + # Build libcstor for uzfs feature + - git clone https://github.com/${repo_org}/libcstor.git - cd libcstor - if [ ${TRAVIS_BRANCH} == "develop" ]; then git checkout master; else git checkout ${TRAVIS_BRANCH} || git checkout master; fi - sh autogen.sh;