mirror of
https://github.com/google/go-jsonnet.git
synced 2025-09-29 01:11:02 +02:00
Compile package in 32-bit mode
This commit is contained in:
parent
f5778853ed
commit
e6572f5083
@ -12,6 +12,14 @@ matrix:
|
||||
arch: arm64
|
||||
env:
|
||||
- PYTHON_COMMAND=python3
|
||||
- name: "arch: i686"
|
||||
go: 1.13.x
|
||||
arch: amd64
|
||||
env:
|
||||
- PYTHON_COMMAND=python3
|
||||
- GOARCH=386
|
||||
- CGO_ENABLED=1
|
||||
- SKIP_PYTHON_BINDINGS_TESTS=1
|
||||
- name: "arch: ppc64le"
|
||||
go: 1.13.x
|
||||
arch: ppc64le
|
||||
|
15
tests.sh
15
tests.sh
@ -6,14 +6,17 @@ PYTHON_COMMAND=${PYTHON_COMMAND:=python}
|
||||
|
||||
set -x
|
||||
|
||||
[ "$SKIP_GO_TESTS" == 1 ] || go test ./...
|
||||
|
||||
[ "$1" = "--skip-go-test" ] || go test ./...
|
||||
if [ "$SKIP_PYTHON_BINDINGS_TESTS" == 1 ]
|
||||
then
|
||||
c-bindings-tests/build.sh
|
||||
else
|
||||
c-bindings-tests/run.sh
|
||||
|
||||
|
||||
c-bindings-tests/run.sh
|
||||
|
||||
$PYTHON_COMMAND setup.py build
|
||||
$PYTHON_COMMAND setup.py test
|
||||
$PYTHON_COMMAND setup.py build
|
||||
$PYTHON_COMMAND setup.py test
|
||||
fi
|
||||
|
||||
export IMPLEMENTATION=golang
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
run_tests() {
|
||||
$GOPATH/bin/goveralls -service=travis-ci
|
||||
./tests.sh --skip-go-test
|
||||
SKIP_GO_TESTS=1 ./tests.sh
|
||||
}
|
||||
|
||||
run_tests
|
||||
|
Loading…
x
Reference in New Issue
Block a user