taggedalgebraic/travis.sh

12 lines
167 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -ueo pipefail
if [ ! -z "${COVERAGE:-}" ]; then
dub fetch doveralls
dub test -b unittest-cov
dub run doveralls
else
dub test
fi