Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
oh-my-fish
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
oh-my-fish
Commits
0a2f57d2
Commit
0a2f57d2
authored
Jan 24, 2016
by
Derek Stavis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove themes doc travis test
parent
67ff59a5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
29 deletions
+0
-29
.travis.yml
.travis.yml
+0
-1
tests/test-generate-themes-doc.fish
tests/test-generate-themes-doc.fish
+0
-28
No files found.
.travis.yml
View file @
0a2f57d2
...
...
@@ -34,7 +34,6 @@ script:
-
tests/run.fish
-
pushd pkg/fish-spec; fish -c 'fish-spec'; popd
-
pushd pkg/omf; fish -c 'fish-spec'; popd
-
tests/test-generate-themes-doc.fish
after_failure
:
-
pwd
...
...
tests/test-generate-themes-doc.fish
deleted
100755 → 0
View file @
67ff59a5
#!/usr/bin/env fish
function __test_themes_doc
set -l project_dir (status -f|xargs dirname|xargs dirname)
set -l theme_output (mktemp /tmp/fish.test.Themes.XXXXX.md)
set -l theme_doc $project_dir/docs/Themes.md
fish $project_dir/tools/generate-themes-doc.fish $theme_output
if cmp -s $theme_doc $theme_output
echo "OK: $theme_doc is up-to-date"
exit 0
else
diff $theme_doc $theme_output
echo "WARN: $theme_doc is not up-to-date"
exit 1
end
end
set -l compare_url "https://api.github.com/repos/$TRAVIS_REPO_SLUG/compare/$TRAVIS_COMMIT_RANGE"
echo "Detecting changes: $compare_url ..."
if curl -s $compare_url | grep -E '"filename": ?"db/themes'
echo "Changes to themes found. Verifying Themes.doc ..."
__test_themes_doc
else
echo "OK: No changes to themes found."
exit 0
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment