mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-14 15:32:24 +00:00
ci: export env vars
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
parent
41478262f3
commit
85de120c17
13
.travis.yml
13
.travis.yml
@ -4,7 +4,7 @@ language: go
|
|||||||
go_import_path: gopkg.in/src-d/enry.v1
|
go_import_path: gopkg.in/src-d/enry.v1
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- '1.11.6'
|
- '1.11.6' # specific versions until https://github.com/golang/go/issues/31293
|
||||||
- '1.12.1'
|
- '1.12.1'
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
@ -30,7 +30,12 @@ stages:
|
|||||||
|
|
||||||
stage: test
|
stage: test
|
||||||
install:
|
install:
|
||||||
- if [[ "${ONIGURUMA}" -gt 0 ]]; then export tags="${tags} oniguruma"; CGO_ENABLED=1; fi; go get -v -t -tags "${tags}" ./...
|
- >
|
||||||
|
if [[ "${ONIGURUMA}" -gt 0 ]]; then
|
||||||
|
export tags="${tags} oniguruma";
|
||||||
|
export CGO_ENABLED=1;
|
||||||
|
fi;
|
||||||
|
- go get -v -t -tags "${tags}" ./...
|
||||||
script:
|
script:
|
||||||
- make test-coverage
|
- make test-coverage
|
||||||
after_success:
|
after_success:
|
||||||
@ -43,7 +48,7 @@ jobs:
|
|||||||
language: scala
|
language: scala
|
||||||
jdk: oraclejdk8
|
jdk: oraclejdk8
|
||||||
before_install:
|
before_install:
|
||||||
- CGO_ENABLED=1
|
- export CGO_ENABLED=1
|
||||||
# mimics exact behavior of 'go_import_path' for non-go build image
|
# mimics exact behavior of 'go_import_path' for non-go build image
|
||||||
- export GOPATH=${TRAVIS_HOME}/gopath
|
- export GOPATH=${TRAVIS_HOME}/gopath
|
||||||
- mkdir -p ${GOPATH}/src/gopkg.in/src-d/enry.v1
|
- mkdir -p ${GOPATH}/src/gopkg.in/src-d/enry.v1
|
||||||
@ -123,7 +128,7 @@ jobs:
|
|||||||
language: scala
|
language: scala
|
||||||
jdk: oraclejdk8
|
jdk: oraclejdk8
|
||||||
before_install:
|
before_install:
|
||||||
- CGO_ENABLED=1
|
- export CGO_ENABLED=1
|
||||||
# mimics exact behavior of 'go_import_path' for non-go build image
|
# mimics exact behavior of 'go_import_path' for non-go build image
|
||||||
- export GOPATH=${TRAVIS_HOME}/gopath
|
- export GOPATH=${TRAVIS_HOME}/gopath
|
||||||
- mkdir -p ${GOPATH}/src/gopkg.in/src-d/enry.v1
|
- mkdir -p ${GOPATH}/src/gopkg.in/src-d/enry.v1
|
||||||
|
Loading…
Reference in New Issue
Block a user