ci: Fix tests with tags

We need to run the tests, and when on tags, run 'ninja dist'.
Just that.
This commit is contained in:
Georges Basile Stavracas Neto 2019-03-11 16:16:50 -03:00
parent 7762c15277
commit dc50111829
No known key found for this signature in database
GPG key ID: 886C17EE170D1385

View file

@ -76,16 +76,12 @@ test:
script:
- *environment_information
- *run_tests
- |
if [[ -n "${CI_COMMIT_TAG}" ]]; then
*run_tests
echo "== Distro Test =="
ninja dist -C _build
else
echo "== Testing =="
meson test -C _build --verbose --no-stdsplit
fi
except: