dfmt/.travis.sh
Jan Jurzitza ad00b113a9 use test_with_package for libdparse test
test both minimum and maximum allowed libdparse versions with dub
2020-06-08 14:21:33 +02:00

15 lines
336 B
Bash
Executable file

#!/bin/bash
set -e
if [[ $BUILD == dub ]]; then
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
else
git submodule update --init --recursive
make debug -j2
fi
cd tests && ./test.sh