use test_with_package for libdparse test

test both minimum and maximum allowed libdparse versions with dub
This commit is contained in:
Jan Jurzitza 2020-06-08 14:21:33 +02:00
parent 83f8a4c65d
commit ad00b113a9
4 changed files with 7 additions and 2 deletions

3
.gitmodules vendored
View File

@ -4,3 +4,6 @@
[submodule "stdx-allocator"]
path = stdx-allocator
url = https://github.com/dlang-community/stdx-allocator
[submodule "d-test-utils"]
path = d-test-utils
url = https://github.com/dlang-community/d-test-utils.git

View File

@ -3,7 +3,7 @@
set -e
if [[ $BUILD == dub ]]; then
dub build --build=release
rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub build --build=release
elif [[ $DC == ldc2 ]]; then
git submodule update --init --recursive
make ldc -j2

View File

@ -15,7 +15,8 @@ branches:
env:
- BUILD=
- BUILD=dub
- BUILD=dub LIBDPARSE_VERSION=min
- BUILD=dub LIBDPARSE_VERSION=max
script: ./.travis.sh

1
d-test-utils Submodule

@ -0,0 +1 @@
Subproject commit 206a2e6abd97b4462f3a320e4f2d23986fad3cff