mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-03-27 18:25:12 +08:00
run tests from correct branch on travis
This commit is contained in:
parent
a90680fd24
commit
0bfb95a504
@ -1,4 +1,10 @@
|
|||||||
#!/usr/bin/env fish
|
#!/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
|
set -l result 0
|
||||||
for test in (find * -type f -print | grep "spec.fish")
|
for test in (find * -type f -print | grep "spec.fish")
|
||||||
fish $test $argv
|
fish $test $argv
|
||||||
|
Loading…
x
Reference in New Issue
Block a user