taggedalgebraic/travis.sh
2018-01-18 00:02:06 +01:00

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