From 9b0f7499be2ee2297bf13b579e2de0ae92e6371e Mon Sep 17 00:00:00 2001 From: Xavier L'Heureux <xavier.lheureux@icloud.com> Date: Wed, 3 Jul 2019 14:01:08 -0400 Subject: [PATCH] =?UTF-8?q?Don't=20fail=20if=20the=20FULL=C2=A0var=20is=20?= =?UTF-8?q?not=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 2 +- tests/run_examples.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4fcfec38..0b397596 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,7 @@ linux: image: 'rust:1.32.0' script: - cargo build - - make tests + - FULL=1 make tests linux:stable: script: diff --git a/tests/run_examples.sh b/tests/run_examples.sh index 4908f7b7..b4bbf93a 100755 --- a/tests/run_examples.sh +++ b/tests/run_examples.sh @@ -59,6 +59,8 @@ cargo +$TOOLCHAIN build test_generic test_params +set +u + if [ -n "$FULL" ]; then # Build debug binary for testing structopt argument parsing cargo +$TOOLCHAIN build --features=advanced_arg_parsing -- GitLab