Show build branch in travis CI
Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
parent
f986c8bbc8
commit
68f2da33e7
|
@ -44,6 +44,7 @@ install:
|
|||
cd $TRAVIS_BUILD_DIR
|
||||
export BRANCH=$(if [ "$TRAVIS_BRANCH" == "master" ]; then echo $TRAVIS_BRANCH; else echo "develop"; fi)
|
||||
git clone --single-branch --branch $BRANCH https://github.com/kendryte/kendryte-standalone-demo.git
|
||||
echo "Build branch $BRANCH"
|
||||
|
||||
script:
|
||||
- export BUILD_DATE=$(date +%Y%m%d)
|
||||
|
|
Loading…
Reference in New Issue