taggedalgebraic/travis.sh
2019-03-05 19:04:45 +07:00

14 lines
216 B
Bash
Executable file

#!/usr/bin/env bash
set -ueo pipefail
if [ ! -z "${COVERAGE:-}" ]; then
dub build --build=docs
dub test -b unittest-cov
wget https://codecov.io/bash -O codecov.sh
bash codecov.sh
else
dub test
fi