Show build branch in travis CI

Signed-off-by: Huang Rui <vowstar@gmail.com>
pull/66/head
Huang Rui 2019-03-19 12:03:49 +08:00
parent f986c8bbc8
commit 68f2da33e7
1 changed files with 1 additions and 0 deletions

View File

@ -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)