diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 37a02fc..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,58 +0,0 @@ -version: 2.1 - - -jobs: - test: - docker: - - image: circleci/golang:1.14 - working_directory: /home/circleci/go/src/github.com/shirou/gopsutil - environment: - GOPATH: /home/circleci/go - steps: - - run: - command: | - echo -e 'export PATH=$GOPATH/bin:$PATH' >> $BASH_ENV - source /home/circleci/.bashrc - - checkout - - run: - command: make init_tools - - run: - command: dep ensure - - run: - command: make vet - - run: - command: make build_test - macos: - macos: - xcode: "10.2.0" - environment: - GOPATH: /Users/distiller/go - GOVERSION: "1.13.8" - steps: - - checkout - - run: - command: | - curl -O https://dl.google.com/go/go${GOVERSION}.darwin-amd64.pkg - sudo installer -pkg go${GOVERSION}.darwin-amd64.pkg -target / - - run: - command: | - make init_tools - mkdir -p ${GOPATH}/src/github.com/shirou/ - mv /Users/distiller/project /Users/distiller/go/src/github.com/shirou/gopsutil - - run: - command: | - export PATH=$GOPATH/bin:$PATH - cd /Users/distiller/go/src/github.com/shirou/gopsutil && dep ensure - - run: - command: | - cd /Users/distiller/go/src/github.com/shirou/gopsutil && go build -v - - run: - command: | - cd /Users/distiller/go/src/github.com/shirou/gopsutil && make macos_test - -workflows: - version: 2 - test: - jobs: - - macos - - test diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 48c05e2..3c8b0e6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ jobs: test_v3_module: strategy: matrix: - go-version: [1.12.x, 1.14.x, 1.15.x] + go-version: [1.13.x, 1.14.x, 1.15.x] os: [ubuntu-18.04, ubuntu-16.04, windows-2019, windows-2016, macOS-10.14, macos-11.0] runs-on: ${{ matrix.os }} steps: @@ -50,7 +50,7 @@ jobs: GO111MODULE: off strategy: matrix: - go-version: [1.12.x, 1.14.x, 1.15.x] + go-version: [1.13.x, 1.14.x, 1.15.x] os: [ubuntu-18.04, ubuntu-16.04, windows-2019, windows-2016, macOS-10.14, macos-11.0] runs-on: ${{ matrix.os }} steps: diff --git a/README.rst b/README.rst index 93505ef..3c4807f 100644 --- a/README.rst +++ b/README.rst @@ -1,8 +1,9 @@ gopsutil: psutil for golang ============================== -.. image:: https://circleci.com/gh/shirou/gopsutil.svg?&style=shield - :target: https://circleci.com/gh/shirou/gopsutil + +.. image:: https://github.com/shirou/gopsutil/workflows/Test/badge.svg + :target: https://github.com/shirou/gopsutil/actions?query=workflow%3ATest .. image:: https://coveralls.io/repos/shirou/gopsutil/badge.svg?branch=master :target: https://coveralls.io/r/shirou/gopsutil?branch=master