mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-05 00:03:44 +08:00
14 lines
271 B
Fish
Executable File
14 lines
271 B
Fish
Executable File
#!/usr/bin/env fish
|
|
|
|
# When running on CI, run tests from the correct branch
|
|
if set -q TRAVIS_BRANCH
|
|
command git checkout $TRAVIS_BRANCH
|
|
end
|
|
|
|
set -l result 0
|
|
for test in (find * -type f -print | grep "spec.fish")
|
|
fish $test $argv
|
|
or set result 1
|
|
end
|
|
exit $result
|