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

debug travis

parent 472096b6
No related branches found
No related tags found
No related merge requests found
......@@ -68,12 +68,15 @@ jobs:
(type = pull_request AND branch = staging) OR \
(type = pull_request AND branch = master AND NOT head_branch = staging)
script:
- which test
- VERSION_NUM=$(jq '.version' < package.json)
- VERSION_NUM=${VERSION_NUM#\"}
- VERSION_NUM=${VERSION_NUM%\"}
- 'echo "VERSION_NUM: $VERSION_NUM"'
- 'cat mkdocs.yml'
- 'test -z "$(cat mkdocs.yml | grep $VERSION_NUM)" && exit 1'
- cat mkdocs.yml
- GREP_VERSION_NUM=$(cat mkdocs.yml | grep $VERSION_NUM)
- 'echo GREP_VERSION_NUM: $GREP_VERSION_NUM'
- test -z "$GREP_VERSION_NUM" && 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