mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-18 05:40:07 +00:00
Test all *.spec files on travis
This commit is contained in:
parent
6c4a3e8a1b
commit
21f2d1a377
2 changed files with 16 additions and 11 deletions
12
.travis.yml
12
.travis.yml
|
@ -74,14 +74,4 @@ before_script:
|
|||
- "zsh --version"
|
||||
|
||||
script:
|
||||
- test/powerlevel9k.spec
|
||||
- test/functions/utilities.spec
|
||||
- test/functions/colors.spec
|
||||
- test/functions/icons.spec
|
||||
- test/segments/command_execution_time.spec
|
||||
- test/segments/dir.spec
|
||||
- test/segments/rust_version.spec
|
||||
- test/segments/go_version.spec
|
||||
- test/segments/vcs.spec
|
||||
- test/segments/kubecontext.spec
|
||||
- test/segments/laravel_version.spec
|
||||
- test/suite.spec
|
15
test/suite.spec
Executable file
15
test/suite.spec
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env zsh
|
||||
#vim:ft=zsh ts=2 sw=2 sts=2 et fenc=utf-8
|
||||
|
||||
local failed=false
|
||||
|
||||
for test in **/*.spec; do
|
||||
if [[ "${test}" == "test/suite.spec" ]]; then
|
||||
continue;
|
||||
fi
|
||||
./${test} || failed=true
|
||||
done
|
||||
|
||||
if [[ "${failed}" == "true" ]]; then
|
||||
exit 1
|
||||
fi
|
Loading…
Reference in a new issue