fix travis syntax

This commit is contained in:
Jan Jurzitza 2020-06-09 21:56:36 +00:00 committed by GitHub
parent d76ac70893
commit ad32a631d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ set -e
if [[ $BUILD == dub ]]; then if [[ $BUILD == dub ]]; then
if [[ -n $LIBDPARSE_VERSION ]]; then if [[ -n $LIBDPARSE_VERSION ]]; then
rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub test rdmd ./d-test-utils/test_with_package.d $LIBDPARSE_VERSION libdparse -- dub test
elif if [[ -n $DSYMBOL_VERSION ]]; then elif [[ -n $DSYMBOL_VERSION ]]; then
rdmd ./d-test-utils/test_with_package.d $DSYMBOL_VERSION dsymbol -- dub test rdmd ./d-test-utils/test_with_package.d $DSYMBOL_VERSION dsymbol -- dub test
else else
echo 'Cannot run test without LIBDPARSE_VERSION nor DSYMBOL_VERSION environment variable' echo 'Cannot run test without LIBDPARSE_VERSION nor DSYMBOL_VERSION environment variable'