Skip to content
Snippets Groups Projects
Commit 174edb7d authored by Xiao Gui's avatar Xiao Gui
Browse files

fix travis

parent 35cf8706
No related branches found
No related tags found
No related merge requests found
...@@ -68,12 +68,11 @@ jobs: ...@@ -68,12 +68,11 @@ jobs:
(type = pull_request AND branch = staging) OR \ (type = pull_request AND branch = staging) OR \
(type = pull_request AND branch = master AND NOT head_branch = staging) (type = pull_request AND branch = master AND NOT head_branch = staging)
script: script:
- | - VERSION_NUM=$(jq '.version' < package.json)
VERSION_NUM=$(jq '.version' < package.json) && \ - VERSION_NUM=${VERSION_NUM#\"}
VERSION_NUM=${VERSION_NUM#\"} && \ - VERSION_NUM=${VERSION_NUM%\"}
VERSION_NUM=${VERSION_NUM%\"} && \ - echo "VERSION_NUM: $VERSION_NUM"
echo VERSION_NUM: $VERSION_NUM && \ - test -z "$(grep $VERSION_NUM < mkdocs.yml)" && exit 1
test -z "$(grep $VERSION_NUM < mkdocs.yml)" && exit 1
# Temporarily disabling browserstack e2e tests. They seem to fail without any reason # Temporarily disabling browserstack e2e tests. They seem to fail without any reason
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment