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

fix travis

parent ad9cb61b
No related branches found
No related tags found
No related merge requests found
......@@ -56,16 +56,22 @@ jobs:
(type = pull_request AND branch = staging) OR \
(type = pull_request AND branch = master AND NOT head_branch = staging)
script:
- VERSION_NUM=$(jq '.version' < package.json)
- test -f docs/releases/v$VERSION_NUM.md || exit 1
- |
VERSION_NUM=$(jq '.version' < package.json) && \
VERSION_NUM=${VERSION_NUM#\"} && \
VERSION_NUM=${VERSION_NUM%\"} && \
test -f docs/releases/v$VERSION_NUM.md || exit 1
- name: Release notes linked in mkdocs.yml
if: |
(type = pull_request AND branch = staging) OR \
(type = pull_request AND branch = master AND NOT head_branch = staging)
script:
- VERSION_NUM=$(jq '.version' < package.json)
- test -z $(grep $VERSION_NUM < mkdocs.yml) && exit 1
- |
VERSION_NUM=$(jq '.version' < package.json) && \
VERSION_NUM=${VERSION_NUM#\"} && \
VERSION_NUM=${VERSION_NUM%\"} && \
test -z $(grep $VERSION_NUM < mkdocs.yml) && exit 1
# 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