Skip to content

Commit

Permalink
support(travis) : TRAVIS_BRANCH in travis.yaml to determine remote br…
Browse files Browse the repository at this point in the history
…anch for openebs/cstor (#21)

Signed-off-by: mayank <[email protected]>
  • Loading branch information
mynktl authored and vishnuitta committed Jun 19, 2019
1 parent b8f4717 commit e3fb74e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ install:
- cd ..
# we need cstor code
- git clone https://github.com/openebs/cstor.git
- cd cstor
- if [ ${TRAVIS_BRANCH} == "master" ]; then git checkout develop; else git checkout ${TRAVIS_BRANCH}; fi
- git branch
- cd ..
# return to libcstor code
- cd libcstor
- sh autogen.sh
Expand All @@ -59,7 +63,6 @@ install:
- sudo ldconfig
- cd ..
- cd cstor
- git checkout v1.0.x
- sh autogen.sh
- ./configure --with-config=user --enable-code-coverage=yes --enable-debug --enable-uzfs=yes --with-jemalloc --with-fio=$PWD/../fio --with-libcstor=$PWD/../libcstor/include
- make -j4;
Expand Down

0 comments on commit e3fb74e

Please sign in to comment.