12 lines
188 B
Bash
Executable file
12 lines
188 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
set -ueo pipefail
|
|
|
|
if [ ! -z "${COVERAGE:-}" ]; then
|
|
dub test -b unittest-cov
|
|
wget https://codecov.io/bash -O codecov.sh
|
|
bash codecov.sh
|
|
else
|
|
dub test
|
|
fi
|