From ad00b113a9c4e1bb75a6afecfd0148a5f5461324 Mon Sep 17 00:00:00 2001 From: Jan Jurzitza Date: Mon, 8 Jun 2020 14:21:33 +0200 Subject: [PATCH] use test_with_package for libdparse test test both minimum and maximum allowed libdparse versions with dub --- .gitmodules | 3 +++ .travis.sh | 2 +- .travis.yml | 3 ++- d-test-utils | 1 + 4 files changed, 7 insertions(+), 2 deletions(-) create mode 160000 d-test-utils diff --git a/.gitmodules b/.gitmodules index 621577b..d493df0 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/.travis.sh b/.travis.sh index fa34497..cb48753 100755 --- a/.travis.sh +++ b/.travis.sh @@ -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 diff --git a/.travis.yml b/.travis.yml index aabf8e5..de60590 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,8 @@ branches: env: - BUILD= - - BUILD=dub + - BUILD=dub LIBDPARSE_VERSION=min + - BUILD=dub LIBDPARSE_VERSION=max script: ./.travis.sh diff --git a/d-test-utils b/d-test-utils new file mode 160000 index 0000000..206a2e6 --- /dev/null +++ b/d-test-utils @@ -0,0 +1 @@ +Subproject commit 206a2e6abd97b4462f3a320e4f2d23986fad3cff