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
7919f8ef
Commit
7919f8ef
authored
Sep 17, 2015
by
jeremiejig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis: new travis_install_omf script to checkout PR
parent
e68dca44
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
1 deletion
+25
-1
.travis.yml
.travis.yml
+4
-1
tests/travis_install_omf.sh
tests/travis_install_omf.sh
+21
-0
No files found.
.travis.yml
View file @
7919f8ef
...
...
@@ -22,7 +22,10 @@ before_install:
-
tests/install_fish.sh
before_script
:
pwd; tree -h
script
:
"
/bin/sh
bin/install"
script
:
-
/bin/sh tests/travis_install_omf.sh
after_script
:
-
cd ~/.config/fish; tree -h; find . -type f | xargs cat
...
...
tests/travis_install_omf.sh
0 → 100755
View file @
7919f8ef
#!/bin/sh
git
()
{
case
$1
in
clone
)
command
git
"
$@
"
if
test
"
$TRAVIS_PULL_REQUEST
"
!=
"false"
;
then
echo
"! detecting a pull request !"
echo
"
$
git -C
$OMF_PATH
fetch origin +refs/pull/
$TRAVIS_PULL_REQUEST
/merge:"
git
-C
$OMF_PATH
fetch origin +refs/pull/
$TRAVIS_PULL_REQUEST
/merge:
echo
"
$
git -C
$OMF_PATH
checkout -qf FETCH_HEAD"
git
-C
$OMF_PATH
checkout
-qf
FETCH_HEAD
fi
;;
*
)
command
git
"
$@
"
;;
esac
}
.
$TRAVIS_BUILD_DIR
/bin/install
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