remove unmaintained travis config

As far as I'm aware we use GitHub Actions for our CI needs now.
This commit is contained in:
John Bartholomew 2025-01-19 11:16:00 +00:00
parent 156aa1d156
commit 86cd73aec9
3 changed files with 0 additions and 82 deletions

View File

@ -1,57 +0,0 @@
language: go
sudo: false
matrix:
include:
- go: 1.x
- go: 1.13.x
- go: 1.x
arch: amd64
- name: "arch: arm64"
go: 1.x
arch: arm64
env:
- PYTHON_COMMAND=python3
- name: "arch: i686"
go: 1.x
arch: amd64
env:
- PYTHON_COMMAND=python3
- GOARCH=386
- CGO_ENABLED=1
- SKIP_PYTHON_BINDINGS_TESTS=1
- name: "arch: ppc64le"
go: 1.x
arch: ppc64le
env:
- PYTHON_COMMAND=python3
- name: "Bazel Check"
go: 1.x
script: ./travisBazel.sh
before_install:
- echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
- curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
- sudo apt-get update && sudo apt-get install bazel
- name: "Make Check go 1.x"
go: 1.x
before_install:
- echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
- curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -
- sudo apt-get update && sudo apt-get install bazel make
- sudo apt install python3-dev
- pip install -U pytest --user
script: make all
before_install:
- sudo apt install python3-dev
- pip install -U pytest --user
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- go get github.com/fatih/color
- curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
- go get github.com/sergi/go-diff/diffmatchpatch
script: ./travisBuild.sh
env:
- PYTHON_COMMAND=python

View File

@ -1,15 +0,0 @@
set -e
set -x
# See: https://github.com/bazelbuild/rules_go#how-do-i-run-bazel-on-travis-ci
bazel --host_jvm_args=-Xmx500m \
--host_jvm_args=-Xms500m \
test \
--spawn_strategy=standalone \
--genrule_strategy=standalone \
--test_strategy=standalone \
--local_ram_resources=1536 \
--noshow_progress \
--verbose_failures \
--test_output=errors \
//:go_default_test

View File

@ -1,10 +0,0 @@
#!/usr/bin/env bash
set -e
run_tests() {
golangci-lint run ./...
SKIP_GO_TESTS=1 ./tests.sh
}
run_tests