未验证 提交 9b1f69e6 编写于 作者: C Cheerego 提交者: GitHub

try to fix travis ci (#947)

上级 60626aac
......@@ -21,9 +21,9 @@ if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then exit $exit_code; fi;
# Deploy to the the content server if its a "develop" or "release/version" branch
# The "develop_doc" branch is reserved to test full deploy process without impacting the real content.
if [ "$TRAVIS_BRANCH" == "develop_doc" ]; then
PPO_SCRIPT_BRANCH=develop
PPO_SCRIPT_BRANCH=reset_pass_travisci
elif [[ "$TRAVIS_BRANCH" == "develop" || "$TRAVIS_BRANCH" =~ ^v|release/[[:digit:]]+\.[[:digit:]]+(\.[[:digit:]]+)?(-\S*)?$ ]]; then
PPO_SCRIPT_BRANCH=master
PPO_SCRIPT_BRANCH=reset_pass_travisci
else
# Early exit, this branch doesn't require documentation build
echo "This branch doesn't require documentation build";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册