adding the entry point to do some more test.

This commit is contained in:
jeremiejig 2015-09-17 19:09:26 +02:00
parent 7919f8ef6a
commit 2556068da6
3 changed files with 21 additions and 0 deletions

View File

@ -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

View 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
View 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