taggedalgebraic/travis.sh
2020-03-26 11:07:03 +01:00

16 lines
254 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
meson build
ninja -C build
fi