From 7b2d2f95656b544edefdda10db58d82056cce39e Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Mon, 10 Jan 2022 18:26:51 +0100 Subject: [PATCH 1/2] ci: drop Travis-CI and AppVeyor --- .travis.yml | 44 -------------------------------------------- appveyor.yml | 21 --------------------- 2 files changed, 65 deletions(-) delete mode 100644 .travis.yml delete mode 100644 appveyor.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 17191ef9..00000000 --- a/.travis.yml +++ /dev/null @@ -1,44 +0,0 @@ -language: go -sudo: false -dist: trusty - -go_import_path: github.com/go-python/gpython - -os: - - linux - -env: - - TAGS="-tags travis" - -matrix: - fast_finish: true - allow_failures: - - go: master - include: - - go: 1.13.x - env: - - TAGS="-tags travis" - - COVERAGE="-cover" - - go: 1.12.x - env: - - TAGS="-tags travis" - - go: master - env: - - TAGS="-tags travis" - - GO111MODULE=on - -cache: - directories: - - $HOME/bin/python3.4 - -before_install: - - ./bin/install-python.sh $HOME/bin/python3.4 - -script: - - go install -v $TAGS ./... - - GOARCH=386 go test $TAGS ./... - - GOARCH=amd64 go run ./ci/run-tests.go -race $TAGS $COVERAGE - - python3 py3test.py - -after_success: - - bash <(curl -s https://codecov.io/bash) diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 7a67dc83..00000000 --- a/appveyor.yml +++ /dev/null @@ -1,21 +0,0 @@ -build: off - -clone_folder: c:\gopath\src\github.com\go-python\gpython - -branches: - only: - - master - -environment: - GOPATH: c:\gopath - PATH: '%GOPATH%\bin;%PATH%;C:\msys64\mingw64\bin' - matrix: - - TARGET: x86_64-pc-windows-gnu - -stack: go 1.13 - -build_script: - - go get -v -t -race ./... - -test_script: - - go test -race ./... From 965bc08c8dfa7453b716e0a5559d71c40b2b44ce Mon Sep 17 00:00:00 2001 From: Sebastien Binet Date: Mon, 10 Jan 2022 18:31:51 +0100 Subject: [PATCH 2/2] ci: add darwin --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 289009df..e761437d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: go-version: [1.17.x, 1.16.x] - platform: [ubuntu-latest, windows-latest] + platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} steps: - name: Install Go