
* Travis-CI: add ignorechecksum option to chocolatey command Looks like a configuration problem on chocolatey's end. * service/*: remove threadID argument of (*Debugger).PackageVariables Which thread is used doesn't make any difference to the list of package variables that is returned and this option was only ever used by an old v1 API call.
83 lines
1.8 KiB
YAML
83 lines
1.8 KiB
YAML
language: go
|
|
sudo: required
|
|
go_import_path: github.com/go-delve/delve
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
- windows
|
|
|
|
arch:
|
|
- amd64
|
|
- arm64
|
|
|
|
go:
|
|
- 1.15.x
|
|
- 1.14.x
|
|
- 1.13.x
|
|
- tip
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: tip
|
|
exclude:
|
|
- os: osx
|
|
arch: arm64
|
|
- os: windows
|
|
arch: arm64
|
|
- os: windows
|
|
go: 1.14.x
|
|
- os: windows
|
|
go: 1.13.x
|
|
- os: osx
|
|
go: 1.14.x
|
|
- os: osx
|
|
go: 1.13.x
|
|
- arch: arm64
|
|
go: 1.14.x
|
|
- arch: arm64
|
|
go: 1.13.x
|
|
- os: windows
|
|
go: tip
|
|
- arch: arm64
|
|
go: tip
|
|
|
|
before_install:
|
|
- 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 = "windows" ]; then choco install procdump make --ignorechecksum; fi
|
|
|
|
|
|
# 386 linux
|
|
jobs:
|
|
include:
|
|
- os: linux
|
|
services: docker
|
|
env: go_32_version=1.15.2 # Linux/i386 tests will fail on go1.15 prior to 1.15.2 (see issue #2134)
|
|
|
|
script: >-
|
|
if [ $TRAVIS_OS_NAME = "linux" ] && [ $go_32_version ]; then
|
|
docker pull i386/centos:7;
|
|
docker run \
|
|
-v $(pwd):/delve \
|
|
--env TRAVIS=true \
|
|
--env CI=true \
|
|
--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:
|
|
directories:
|
|
- $HOME/AppData/Local/Temp/chocolatey
|