Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
siibra-explorer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiao Gui
siibra-explorer
Commits
ad9cb61b
Commit
ad9cb61b
authored
4 years ago
by
Xiao Gui
Browse files
Options
Downloads
Patches
Plain Diff
chore: fix travis
parent
8e4cde07
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+8
-7
8 additions, 7 deletions
.travis.yml
mkdocs.yml
+1
-0
1 addition, 0 deletions
mkdocs.yml
with
9 additions
and
7 deletions
.travis.yml
+
8
−
7
View file @
ad9cb61b
...
...
@@ -42,26 +42,27 @@ jobs:
-
NODE_ENV=test
-
PORT=12234
-
name
:
Check version number advanced (package.json)
-
stage
:
Check version numbers and release notes
name
:
Check version number advanced (package.json)
if
:
|
(type = pull_request AND
head_
branch = staging) OR \
(type = pull_request AND
head_
branch = master AND NOT branch = staging)
(type = pull_request AND branch = staging) OR \
(type = pull_request AND branch = master AND NOT
head_
branch = staging)
script
:
-
PACKAGE_JSON_DIFF=$(git diff --name-only $TRAVIS_COMMIT_RANGE package.json)
-
test -z "$PACKAGE_JSON_DIFF" && exit
1
-
name
:
Check release notes authored (docs/releases/v?.?.?.md)
if
:
|
type = pull_request AND \
head_branch = staging
(
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
-
name
:
Release notes linked in mkdocs.yml
if
:
|
type = pull_request AND \
head_branch = staging
(
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
...
...
This diff is collapsed.
Click to expand it.
mkdocs.yml
+
1
−
0
View file @
ad9cb61b
...
...
@@ -40,6 +40,7 @@ pages:
-
Fetching datasets
:
'
advanced/datasets.md'
-
Display non-atlas volumes
:
'
advanced/otherVolumes.md'
-
Release notes
:
-
v2.2.6
:
'
releases/v2.2.6.md'
-
v2.2.5
:
'
releases/v2.2.5.md'
-
v2.2.4
:
'
releases/v2.2.4.md'
-
v2.2.3
:
'
releases/v2.2.3.md'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment