diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index e10ce08..0000000 --- a/.travis.yml +++ /dev/null @@ -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 diff --git a/travisBazel.sh b/travisBazel.sh deleted file mode 100755 index bd3b42a..0000000 --- a/travisBazel.sh +++ /dev/null @@ -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 diff --git a/travisBuild.sh b/travisBuild.sh deleted file mode 100755 index a27c8a5..0000000 --- a/travisBuild.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env bash - -set -e - -run_tests() { - golangci-lint run ./... - SKIP_GO_TESTS=1 ./tests.sh -} - -run_tests