mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
adding the entry point to do some more test.
This commit is contained in:
parent
7919f8ef6a
commit
2556068da6
@ -20,11 +20,13 @@ env:
|
||||
|
||||
before_install:
|
||||
- tests/install_fish.sh
|
||||
- fish -c 'ln -sf $TRAVIS_BUILD_DIR/tests/fish_user_function $fish_function_path[1]'
|
||||
|
||||
before_script: pwd; tree -h
|
||||
|
||||
script:
|
||||
- /bin/sh tests/travis_install_omf.sh
|
||||
- tests/travis_tests.fish
|
||||
|
||||
after_script:
|
||||
- cd ~/.config/fish; tree -h; find . -type f | xargs cat
|
||||
|
10
tests/fish_user_function/refresh.fish
Normal file
10
tests/fish_user_function/refresh.fish
Normal file
@ -0,0 +1,10 @@
|
||||
# SYNOPSIS
|
||||
# refresh
|
||||
#
|
||||
# OVERVIEW
|
||||
# Refresh (reload) the current fish session.
|
||||
|
||||
function refresh -d "refresh the fish session (Travis Override)"
|
||||
echo !!! Shell refresh requested in testing Environment !!!
|
||||
exit 0;
|
||||
end
|
9
tests/travis_tests.fish
Executable file
9
tests/travis_tests.fish
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env fish
|
||||
|
||||
set -l return_code 0
|
||||
|
||||
omf help
|
||||
omf query PATH
|
||||
omf install apt
|
||||
|
||||
exit $return_code
|
Loading…
Reference in New Issue
Block a user