From 3258572585c4ceb3ba582e3681040fd229805d35 Mon Sep 17 00:00:00 2001 From: Denis Feklushkin Date: Tue, 5 Mar 2019 19:04:45 +0700 Subject: [PATCH] Ddox fix and CI test added --- source/taggedalgebraic/taggedunion.d | 2 +- travis.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/taggedalgebraic/taggedunion.d b/source/taggedalgebraic/taggedunion.d index 3965caa..9c1afb9 100644 --- a/source/taggedalgebraic/taggedunion.d +++ b/source/taggedalgebraic/taggedunion.d @@ -23,7 +23,7 @@ import std.traits : EnumMembers, FieldNameTuple, Unqual, isInstanceOf; For a given field "foo", these fields are: $(UL - $(LI `static foo(value)`) - returns a new tagged union with the specified value) + $(LI `static foo(value)` - returns a new tagged union with the specified value) $(LI `isFoo` - equivalent to `kind == Kind.foo`) $(LI `setFoo(value)` - equivalent to `set!(Kind.foo)(value)`) $(LI `getFoo` - equivalent to `get!(Kind.foo)`) diff --git a/travis.sh b/travis.sh index b90fa1c..de2efb7 100755 --- a/travis.sh +++ b/travis.sh @@ -3,6 +3,8 @@ 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