@@ -44,7 +44,7 @@
Loading
44 44
fi
45 45
46 46
# Workaround for posh 0.8.5
47 -
if [ "$(kill -l 1 2>/dev/null)" = 1 ]; then
47 +
if [ ! "$(kill -l 1 2>/dev/null)" = 'HUP' ]; then
48 48
  echo "SHELLSPEC_DEFECT_SIGNAL=1"
49 49
fi
50 50

@@ -130,6 +130,15 @@
Loading
130 130
  until "$@"; do nap; done
131 131
}
132 132
133 +
signal() { kill -"$1" "$2"; }
134 +
if kill -s 0 $$ 2>/dev/null; then
135 +
  signal() { kill -s "$1" "$2"; }
136 +
  # workaround for posh 0.8.5. broken signal
137 +
  if [ "$SHELLSPEC_DEFECT_SIGNAL" ]; then
138 +
    kill() { env kill "$@"; }
139 +
  fi
140 +
fi
141 +
133 142
timeout() {
134 143
  {
135 144
    ( sleep "$1"; signal KILL "$2" ) &
@@ -139,15 +148,6 @@
Loading
139 148
  } 2>/dev/null &&:
140 149
}
141 150
142 -
signal() { kill -"$1" "$2"; }
143 -
if kill -s 0 $$ 2>/dev/null; then
144 -
  signal() { kill -s "$1" "$2"; }
145 -
  # workaround for posh 0.8.5. broken signal
146 -
  if [ "$(kill -l 1)" = 1 ]; then
147 -
    kill() { env kill "$@"; }
148 -
  fi
149 -
fi
150 -
151 151
read_quickfile() {
152 152
  set -- "$1" "${2:-}" "${3:-}"
153 153
  while eval "{ IFS= read -r $1 || [ \"\$$1\" ]; } &&:"; do
Files Coverage
lib 77.68%
libexec 20.97%
install.sh 53.10%
shellspec 0.00%
Project Totals (94 files) 60.49%
800.13
TRAVIS_OS_NAME=osx
1
coverage:
2
  status:
3
    project:
4
      default:
5
        target: 30%
6
    patch: false
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading