*: Transfer 32-bit test into travis from cirrus (#1932)
This commit is contained in:
parent
88a0e1727a
commit
5774066ddb
31
.cirrus.yml
31
.cirrus.yml
@ -1,28 +1,9 @@
|
|||||||
freebsd_task:
|
env:
|
||||||
env:
|
GOFLAGS: -mod=vendor
|
||||||
GOFLAGS: -mod=vendor
|
|
||||||
|
|
||||||
freebsd_instance:
|
|
||||||
image: freebsd-11-2-release-amd64
|
|
||||||
|
|
||||||
|
freebsd_instance:
|
||||||
|
image: freebsd-11-2-release-amd64
|
||||||
|
|
||||||
|
test_task:
|
||||||
install_script: pkg install -y go gcc git
|
install_script: pkg install -y go gcc git
|
||||||
test_script: make test
|
test_script: make test
|
||||||
|
|
||||||
linux386_task:
|
|
||||||
container:
|
|
||||||
image: i386/ubuntu:18.04
|
|
||||||
env:
|
|
||||||
matrix:
|
|
||||||
- GOVERSION: 1.12
|
|
||||||
- GOVERSION: 1.13
|
|
||||||
- GOVERSION: 1.14
|
|
||||||
test_script:
|
|
||||||
- apt-get -y update
|
|
||||||
- apt-get -y install software-properties-common
|
|
||||||
- apt-get -y install git
|
|
||||||
- add-apt-repository ppa:longsleep/golang-backports
|
|
||||||
- apt-get -y install golang-${GOVERSION}-go
|
|
||||||
- export PATH=$PATH:/usr/lib/go-${GOVERSION}/bin
|
|
||||||
- go version
|
|
||||||
- uname -a
|
|
||||||
- make test
|
|
||||||
|
27
.travis.yml
27
.travis.yml
@ -11,10 +11,10 @@ arch:
|
|||||||
- arm64
|
- arm64
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- tip
|
|
||||||
- 1.14.x
|
- 1.14.x
|
||||||
- 1.13.x
|
- 1.13.x
|
||||||
- 1.12.x
|
- 1.12.x
|
||||||
|
- tip
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
@ -41,6 +41,31 @@ before_install:
|
|||||||
- export GOFLAGS=-mod=vendor
|
- export GOFLAGS=-mod=vendor
|
||||||
- if [ $TRAVIS_OS_NAME = "linux" ]; then sudo apt-get -qq update; sudo apt-get install -y dwz; echo "dwz version $(dwz --version)"; fi
|
- if [ $TRAVIS_OS_NAME = "linux" ]; then sudo apt-get -qq update; sudo apt-get install -y dwz; echo "dwz version $(dwz --version)"; fi
|
||||||
- if [ $TRAVIS_OS_NAME = "windows" ]; then choco install procdump make; fi
|
- if [ $TRAVIS_OS_NAME = "windows" ]; then choco install procdump make; fi
|
||||||
|
|
||||||
|
|
||||||
|
# 386 linux
|
||||||
|
jobs:
|
||||||
|
include:
|
||||||
|
- os: linux
|
||||||
|
services: docker
|
||||||
|
env: go_32_version=1.14
|
||||||
|
|
||||||
|
script: >-
|
||||||
|
if [ $TRAVIS_OS_NAME = "linux" ] && [ $go_32_version ]; then
|
||||||
|
docker pull i386/centos:7;
|
||||||
|
docker run -v $(pwd):/delve --privileged i386/centos:7 /bin/bash -c "set -x && \
|
||||||
|
cd delve && \
|
||||||
|
yum -y update && yum -y upgrade && \
|
||||||
|
yum -y install wget make git gcc && \
|
||||||
|
wget -q https://dl.google.com/go/go${go_32_version}.linux-386.tar.gz && \
|
||||||
|
tar -C /usr/local -xzf go${go_32_version}.linux-386.tar.gz && \
|
||||||
|
export PATH=$PATH:/usr/local/go/bin && \
|
||||||
|
go version && \
|
||||||
|
uname -a && \
|
||||||
|
make test";
|
||||||
|
else
|
||||||
|
make test;
|
||||||
|
fi
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
|
Loading…
Reference in New Issue
Block a user