taggedalgebraic/travis.sh

18 lines
381 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -ueo pipefail
if [ ! -z "${COVERAGE:-}" ]; then
2019-03-05 12:04:45 +00:00
dub build --build=docs
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
2020-03-26 06:44:08 +00:00
dub test
2020-04-09 19:18:21 +00:00
if [ "x${TEST_MESON:-}" = "xtrue" ] && [ "x$(dmd --version | head -n1)" != "xDMD64 D Compiler v2.085.1" ]; then
2020-04-17 17:14:48 +00:00
meson build && ninja -C build
fi
fi