ci: fix bug that enabled oniguruma for all profiles

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
Alexander Bezzubov 2019-04-09 18:58:14 +02:00
parent d73725709b
commit 58a81694f6
No known key found for this signature in database
GPG Key ID: 8039F5787EFCD05D

View File

@ -30,7 +30,7 @@ stages:
stage: test
install:
- if [[ -n "$ONIGURUMA" ]]; then tags="$tags oniguruma"; fi; go get -v -t --tags "$tags" ./...
- if [[ "${ONIGURUMA}" -gt 0 ]]; then export tags="${tags} oniguruma"; fi; go get -v -t -tags "${tags}" ./...
script:
- make test-coverage
after_success: