taggedalgebraic/travis.sh

12 lines
188 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -ueo pipefail
if [ ! -z "${COVERAGE:-}" ]; then
dub test -b unittest-cov
2018-01-17 23:02:06 +00:00
wget https://codecov.io/bash -O codecov.sh
bash codecov.sh
else
dub test
fi