ci: add ONIGURUMA jobs

It's very clear now: only Golang UnitTests are run
with oniguruma regexp enabled.

Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
Alexander Bezzubov 2018-10-21 19:19:11 +02:00
parent 20f6f11a43
commit ff8d87226f
No known key found for this signature in database
GPG Key ID: 8039F5787EFCD05D

View File

@ -15,9 +15,7 @@ addons:
env:
global:
- GO_VERSION='1.10.x'
matrix:
- ONIGURUMA=0
- ONIGURUMA=1
stages:
- name: test
@ -26,7 +24,8 @@ stages:
jobs:
include:
- name: 'golang unitTests'
- &golang-unit-tests
name: 'golang unitTests'
stage: test
install:
- if [ "$ONIGURUMA" == "1" ]; then tags="$tags oniguruma"; fi; go get -v -t --tags "$tags" ./...
@ -35,6 +34,10 @@ jobs:
after_success:
- bash <(curl -s https://codecov.io/bash)
- <<: *golang-unit-tests
name: 'golang unitTests, ONIGURUMA=1'
env: ONIGURUMA=1
- name: 'java unitTests'
stage: test
language: scala