taggedalgebraic/travis.sh

16 lines
291 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
meson build && ninja -C build || echo Warning: Meson build failed!
fi